<!doctype html>
<html class="default no-js">
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<title>Config | Cordova Background Geolocation</title>
	<meta name="description" content="">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<link rel="stylesheet" href="../assets/css/main.css">
	<link rel="stylesheet" href="../assets/css/monokai-sublime.css">
</head>
<body>
<header>
	<div class="tsd-page-toolbar">
		<div class="container">
			<div class="table-wrap">
				<div class="table-cell" id="tsd-search" data-index="../assets/js/search.js" data-base="..">
					<div class="field">
						<label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
						<input id="tsd-search-field" type="text" />
					</div>
					<ul class="results">
						<li class="state loading">Preparing search index...</li>
						<li class="state failure">The search index is not available</li>
					</ul>
					<a href="../globals.html" class="title">[API Docs] Cordova Background Geolocation</a>&nbsp;<span class="tsd-flag ts-flagOptional ts-flagVersion">v 2.14.2</span>
				</div>
				<div class="" id="tsd-widgets">
					<a class="github" href="https://github.com/transistorsoft/cordova-background-geolocation-lt">Github</a>
					<a class="logo" href="https://www.transistorsoft.com"><img src="../assets/images/logo-black-150.png" /></a>
				</div>
			</div>
		</div>
	</div>
	<div class="tsd-page-title">
		<div class="container">
			<ul class="tsd-breadcrumb">
				<li>
					<a href="../globals.html">Globals</a>
				</li>
				<li>
					<a href="../modules/_cordova_background_geolocation_lt_.html">&quot;cordova-background-geolocation-lt&quot;</a>
				</li>
				<li>
					<a href="_cordova_background_geolocation_lt_.config.html">Config</a>
				</li>
			</ul>
			<h1>Interface Config</h1>
		</div>
	</div>
</header>
<div class="container container-main">
	<div class="row">
		<div class="col-9 col-content">
			<section class="tsd-panel tsd-comment">
				<div class="tsd-comment tsd-typography">
					<div class="lead">
						<h2 id="-configuration-api-">🔧 Configuration API.</h2>
					</div>
					<p>The following configuration options are used to configure the SDK via the methods <a href="../classes/_cordova_background_geolocation_lt_.backgroundgeolocation.html#ready">BackgroundGeolocation.ready</a> and <a href="../classes/_cordova_background_geolocation_lt_.backgroundgeolocation.html#setconfig">BackgroundGeolocation.setConfig</a>.</p>
					<dl class="tsd-comment-tags">
						<dt class="tsd-comment-tag-example">example</dt>
						<dd><pre><code class="language-javascript">BackgroundGeolocation.ready({
  <span class="hljs-attr">desiredAccuracy</span>: BackgroundGeolocation.DESIRED_ACCURACY_HIGH,
  <span class="hljs-attr">distanceFilter</span>: <span class="hljs-number">10</span>,
  <span class="hljs-attr">stopOnTerminate</span>: <span class="hljs-literal">false</span>,
  <span class="hljs-attr">startOnBoot</span>: <span class="hljs-literal">true</span>,
  <span class="hljs-attr">url</span>: <span class="hljs-string">'http://my.server.com'</span>,
  <span class="hljs-attr">params</span>: {
    <span class="hljs-string">"user_id"</span>: <span class="hljs-number">123</span>
  },
  <span class="hljs-attr">headers</span>: {
    <span class="hljs-string">"my-auth-token"</span>:<span class="hljs-string">"secret-key"</span>
  }
}).then(<span class="hljs-function">(<span class="hljs-params">state</span>) =&gt;</span> {
  <span class="hljs-built_in">console</span>.log(<span class="hljs-string">'[ready] BackgroundGeolocation is configured and ready to use'</span>);

  BackgroundGeolocation.start();
})

<span class="hljs-comment">// Or with #setConfig</span>
BackgroundGeolocation.setConfig({
  <span class="hljs-attr">extras</span>: {<span class="hljs-attr">route_id</span>: <span class="hljs-number">1234</span>},
  <span class="hljs-attr">url</span>: <span class="hljs-string">'https://my.new.server.com'</span>
})</code></pre>
							<h2 id="geolocation-options">Geolocation Options</h2>
							<h3 id="-geolocation-common-options">[Geolocation] Common Options</h3>
							<table>
								<thead>
									<tr>
										<th>Option</th>
										<th>Type</th>
										<th>Note</th>
									</tr>
								</thead>
								<tbody><tr>
										<td><a href="_cordova_background_geolocation_lt_.config.html#desiredaccuracy">desiredAccuracy</a></td>
										<td><a href="../modules/_cordova_background_geolocation_lt_.html#locationaccuracy">LocationAccuracy</a></td>
										<td><strong>Default: <a href="../classes/_cordova_background_geolocation_lt_.backgroundgeolocation.html#desired_accuracy_high">BackgroundGeolocation.DESIRED_ACCURACY_HIGH</a></strong>. Specify the desired-accuracy of the geolocation system.</td>
									</tr>
									<tr>
										<td><a href="_cordova_background_geolocation_lt_.config.html#distancefilter">distanceFilter</a></td>
										<td><code>Integer</code></td>
										<td><strong>Default: <code>10</code></strong>.  The minimum distance (measured in meters) a device must move horizontally before an update event is generated.</td>
									</tr>
									<tr>
										<td><a href="_cordova_background_geolocation_lt_.config.html#disableelasticity">disableElasticity</a></td>
										<td><code>Boolean</code></td>
										<td><strong>Default: <code>false</code></strong>.  Set true to disable automatic speed-based <a href="_cordova_background_geolocation_lt_.config.html#distancefilter">distanceFilter</a> elasticity. eg: When device is moving at highway speeds, locations are returned at ~ 1 / km.</td>
									</tr>
									<tr>
										<td><a href="_cordova_background_geolocation_lt_.config.html#elasticitymultiplier">elasticityMultiplier</a></td>
										<td><code>Float</code></td>
										<td><strong>Default: <code>1</code></strong>.  Controls the scale of automatic speed-based <code>distanceFilter</code> elasticity.  Increasing <code>elasticityMultiplier</code> will result in few location samples as speed increases.</td>
									</tr>
									<tr>
										<td><a href="_cordova_background_geolocation_lt_.config.html#stopafterelapsedminutes">stopAfterElapsedMinutes</a></td>
										<td><code>Integer</code></td>
										<td><strong>Default: <code>0</code></strong>.  The plugin can optionally automatically stop tracking after some number of minutes elapses after the <a href="../classes/_cordova_background_geolocation_lt_.backgroundgeolocation.html#start">BackgroundGeolocation.start</a> method was called.</td>
									</tr>
									<tr>
										<td><a href="_cordova_background_geolocation_lt_.config.html#stoponstationary">stopOnStationary</a></td>
										<td><code>Boolean</code></td>
										<td><strong>Default: <code>false</code></strong>.  The plugin can optionally automatically stop tracking when the <code>stopTimeout</code> timer elapses.</td>
									</tr>
									<tr>
										<td><a href="_cordova_background_geolocation_lt_.config.html#desiredodometeraccuracy">desiredOdometerAccuracy</a></td>
										<td><code>Integer</code></td>
										<td><strong>Default: <code>100</code></strong>.  Location accuracy threshold in <strong>meters</strong> for odometer calculations.</td>
									</tr>
							</tbody></table>
							<h3 id="-geolocation-ios-options">[Geolocation] iOS Options</h3>
							<table>
								<thead>
									<tr>
										<th>Option</th>
										<th>Type</th>
										<th>Note</th>
									</tr>
								</thead>
								<tbody><tr>
										<td><a href="_cordova_background_geolocation_lt_.config.html#stationaryradius">stationaryRadius</a></td>
										<td><code>Integer</code></td>
										<td><strong>Default: <code>25</code></strong>.  When stopped, the minimum distance the device must move beyond the stationary location for aggressive background-tracking to engage.</td>
									</tr>
									<tr>
										<td><a href="_cordova_background_geolocation_lt_.config.html#usesignificantchangesonly">useSignificantChangesOnly</a></td>
										<td><code>Boolean</code></td>
										<td><strong>Default: <code>false</code></strong>.  Defaults to <code>false</code>.  Set <code>true</code> in order to disable constant background-tracking and use only the iOS <a href="https://developer.apple.com/library/ios/documentation/CoreLocation/Reference/CLLocationManager_Class/index.html#//apple_ref/occ/instm/CLLocationManager/startMonitoringSignificantLocationChanges">Significant Changes API</a>.</td>
									</tr>
									<tr>
										<td><a href="_cordova_background_geolocation_lt_.config.html#locationauthorizationrequest">locationAuthorizationRequest</a></td>
										<td><a href="../modules/_cordova_background_geolocation_lt_.html#locationauthorizationrequest">LocationAuthorizationRequest</a></td>
										<td><strong>Default: <code>Always</code></strong>.  The desired iOS location-authorization request, either <code>Always</code>, <code>WhenInUse</code> or <code>Any</code>.</td>
									</tr>
									<tr>
										<td><a href="_cordova_background_geolocation_lt_.config.html#locationauthorizationalert">locationAuthorizationAlert</a></td>
										<td><code>Object</code></td>
										<td>When you configure the plugin <a href="_cordova_background_geolocation_lt_.config.html#locationauthorizationrequest">locationAuthorizationRequest</a> <code>Always</code> or <code>WhenInUse</code> and the user <em>changes</em> that value in the app&#39;s location-services settings or <em>disables</em> location-services, the plugin will display an Alert directing the user to the <strong>Settings</strong> screen.</td>
									</tr>
									<tr>
										<td><a href="_cordova_background_geolocation_lt_.config.html#disablelocationauthorizationalert">disableLocationAuthorizationAlert</a></td>
										<td><code>Boolean</code></td>
										<td><strong>Default: <code>false</code></strong>.  Disables automatic authorization alert when plugin detects the user has disabled location authorization.  You will be responsible for handling disabled location authorization by listening to the <code>providerchange</code> event.</td>
									</tr>
							</tbody></table>
							<h3 id="-geolocation-android-options">[Geolocation] Android Options</h3>
							<table>
								<thead>
									<tr>
										<th>Option</th>
										<th>Type</th>
										<th>Note</th>
									</tr>
								</thead>
								<tbody><tr>
										<td><a href="_cordova_background_geolocation_lt_.config.html#locationupdateinterval">locationUpdateInterval</a></td>
										<td><code>Integer</code></td>
										<td><strong>Default: <code>1000</code></strong>.  With <a href="_cordova_background_geolocation_lt_.config.html#distancefilter">distanceFilter</a>: 0, Sets the desired interval for location updates, in milliseconds.  ⚠️ This setting will be ignored when <strong><code>distanceFilter &gt; 0</code></strong></td>
									</tr>
									<tr>
										<td><a href="_cordova_background_geolocation_lt_.config.html#fastestlocationupdateinterval">fastestLocationUpdateInterval</a></td>
										<td><code>Integer</code></td>
										<td><strong>Default: <code>10000</code></strong>.  Explicitly set the fastest interval for location updates, in milliseconds.</td>
									</tr>
									<tr>
										<td><a href="_cordova_background_geolocation_lt_.config.html#defertime">deferTime</a></td>
										<td><code>Integer</code></td>
										<td><strong>Default: <code>0</code></strong>.  Sets the maximum wait time in milliseconds for location updates to be delivered to your callback, when they will all be delivered in a batch.</td>
									</tr>
									<tr>
										<td><a href="_cordova_background_geolocation_lt_.config.html#allowidenticallocations">allowIdenticalLocations</a></td>
										<td><code>Boolean</code></td>
										<td><strong>Default: <code>false</code></strong>.  The Android plugin will ignore a received location when it is identical to the last location.  Set <code>true</code> to override this behaviour and record every location, regardless if it is identical to the last location.</td>
									</tr>
							</tbody></table>
							<h2 id="activity-recognition-options">Activity Recognition Options</h2>
							<h3 id="-activity-recognition-common-options">[Activity Recognition] Common Options</h3>
							<table>
								<thead>
									<tr>
										<th>Option</th>
										<th>Type</th>
										<th>Note</th>
									</tr>
								</thead>
								<tbody><tr>
										<td><a href="_cordova_background_geolocation_lt_.config.html#activityrecognitioninterval">activityRecognitionInterval</a></td>
										<td><code>Integer</code></td>
										<td><strong>Default: <code>10000</code></strong>.  The desired time between activity detections. Larger values will result in fewer activity detections while improving battery life. A value of <code>0</code> will result in activity detections at the fastest possible rate.</td>
									</tr>
									<tr>
										<td><a href="_cordova_background_geolocation_lt_.config.html#stoptimeout">stopTimeout</a></td>
										<td><code>Integer</code></td>
										<td><strong>Default: <code>5</code></strong>.  The number of <strong>minutes</strong> to wait before turning off location-services after the ActivityRecognition System (ARS) detects the device is <code>STILL</code></td>
									</tr>
									<tr>
										<td><a href="_cordova_background_geolocation_lt_.config.html#minimumactivityrecognitionconfidence">minimumActivityRecognitionConfidence</a></td>
										<td><code>Integer</code></td>
										<td><strong>Default: <code>75</code></strong>.  Each activity-recognition-result returned by the API is tagged with a &quot;confidence&quot; level expressed as a <code>%</code>.  You can set your desired confidence to trigger a state-change.</td>
									</tr>
									<tr>
										<td><a href="_cordova_background_geolocation_lt_.config.html#stopdetectiondelay">stopDetectionDelay</a></td>
										<td><code>Integer</code></td>
										<td><strong>Default: <code>0</code></strong>.  Number of <strong>minutes</strong> to delay the stop-detection system from being activated.</td>
									</tr>
									<tr>
										<td><a href="_cordova_background_geolocation_lt_.config.html#disablestopdetection">disableStopDetection</a></td>
										<td><code>Boolean</code></td>
										<td><strong>Default: <code>false</code></strong>.  Disable accelerometer-based <strong>Stop-detection System</strong>. ⚠️ Not recommended</td>
									</tr>
							</tbody></table>
							<h3 id="-activity-recognition-ios-options">[Activity Recognition] iOS Options</h3>
							<table>
								<thead>
									<tr>
										<th>Option</th>
										<th>Type</th>
										<th>Note</th>
									</tr>
								</thead>
								<tbody><tr>
										<td><a href="_cordova_background_geolocation_lt_.config.html#activitytype">activityType</a></td>
										<td><a href="../modules/_cordova_background_geolocation_lt_.html#activitytype">ActivityType</a></td>
										<td><strong>Default: <a href="../classes/_cordova_background_geolocation_lt_.backgroundgeolocation.html#activity_type_other">BackgroundGeolocation.ACTIVITY_TYPE_OTHER</a></strong>.  Presumably, this affects ios GPS algorithm.  See <a href="https://developer.apple.com/library/ios/documentation/CoreLocation/Reference/CLLocationManager_Class/CLLocationManager/CLLocationManager.html#//apple_ref/occ/instp/CLLocationManager/activityType">Apple docs</a> for more information</td>
									</tr>
									<tr>
										<td><a href="_cordova_background_geolocation_lt_.config.html#disablemotionactivityupdates">disableMotionActivityUpdates</a></td>
										<td><code>Boolean</code></td>
										<td><strong>Default: <code>false</code></strong>.  Disable iOS motion-activity updates (eg: &quot;walking&quot;, &quot;in_vehicle&quot;).  This feature requires a device having the <strong>M7</strong> co-processor (ie: iPhone 5s and up). ⚠️ The plugin is <strong>HIGHLY</strong> optimized to use this for improved battery performance.  You are <strong>STRONLY</strong> recommended to <strong>NOT</strong> disable this.</td>
									</tr>
							</tbody></table>
							<h2 id="http-persistence-options">HTTP &amp; Persistence Options</h2>
							<ul>
								<li>📘 HTTP Guide: <a href="_cordova_background_geolocation_lt_.httpevent.html">HttpEvent</a>.</li>
							</ul>
							<table>
								<thead>
									<tr>
										<th>Option</th>
										<th>Type</th>
										<th>Note</th>
									</tr>
								</thead>
								<tbody><tr>
										<td><a href="_cordova_background_geolocation_lt_.config.html#url">url</a></td>
										<td><code>String</code></td>
										<td><strong>Default: <code>undefined</code></strong>.  Your server url where you wish to HTTP POST locations to</td>
									</tr>
									<tr>
										<td><a href="_cordova_background_geolocation_lt_.config.html#httptimeout">httpTimeout</a></td>
										<td><code>Integer</code></td>
										<td><strong>Default: <code>60000</code></strong>.  HTTP request timeout in milliseconds.</td>
									</tr>
									<tr>
										<td><a href="_cordova_background_geolocation_lt_.config.html#params">params</a></td>
										<td><code>Object</code></td>
										<td><strong>Default: <code>undefined</code></strong>.  Optional HTTP params sent along in HTTP request to above <a href="_cordova_background_geolocation_lt_.config.html#url">url</a></td>
									</tr>
									<tr>
										<td><a href="_cordova_background_geolocation_lt_.config.html#extras">extras</a></td>
										<td><code>Object</code></td>
										<td><strong>Default: <code>undefined</code></strong>.  Optional meta-data to attach to <em>each</em> recorded location</td>
									</tr>
									<tr>
										<td><a href="_cordova_background_geolocation_lt_.config.html#headers">headers</a></td>
										<td><code>Object</code></td>
										<td><strong>Default: <code>undefined</code></strong>.  Optional HTTP headers sent along in HTTP request to above <a href="_cordova_background_geolocation_lt_.config.html#url">url</a></td>
									</tr>
									<tr>
										<td><a href="_cordova_background_geolocation_lt_.config.html#method">method</a></td>
										<td><code>String</code></td>
										<td><strong>Default: <code>POST</code></strong>.  The HTTP method.  Defaults to <code>POST</code>.  Some servers require <code>PUT</code>.</td>
									</tr>
									<tr>
										<td><a href="_cordova_background_geolocation_lt_.config.html#httprootproperty">httpRootProperty</a></td>
										<td><code>String</code></td>
										<td><strong>Default: <code>location</code></strong>.  The root property of the JSON data where location-data will be appended.</td>
									</tr>
									<tr>
										<td><a href="_cordova_background_geolocation_lt_.config.html#locationtemplate">locationTemplate</a></td>
										<td><code>String</code></td>
										<td><strong>Default: <code>undefined</code></strong>.  Optional custom location data schema (eg: <code>{ &quot;lat:&lt;%= latitude %&gt;, &quot;lng&quot;:&lt;%= longitude %&gt; }</code></td>
									</tr>
									<tr>
										<td><a href="_cordova_background_geolocation_lt_.config.html#geofencetemplate">geofenceTemplate</a></td>
										<td><code>String</code></td>
										<td><strong>Default: <code>undefined</code></strong>.  Optional custom geofence data schema (eg: <code>{ &quot;lat:&lt;%= latitude %&gt;, &quot;lng&quot;:&lt;%= longitude %&gt;, &quot;geofence&quot;:&quot;&lt;%= geofence.identifier %&gt;:&lt;%= geofence.action %&gt;&quot; }</code></td>
									</tr>
									<tr>
										<td><a href="_cordova_background_geolocation_lt_.config.html#autosync">autoSync</a></td>
										<td><code>Boolean</code></td>
										<td><strong>Default: <code>true</code></strong>.  If you&#39;ve enabeld HTTP feature by configuring an <a href="_cordova_background_geolocation_lt_.config.html#url">url</a>, the plugin will attempt to upload each location to your server <strong>as it is recorded</strong>.</td>
									</tr>
									<tr>
										<td><a href="_cordova_background_geolocation_lt_.config.html#autosyncthreshold">autoSyncThreshold</a></td>
										<td><code>Integer</code></td>
										<td><strong>Default: <code>0</code></strong>.  The minimum number of persisted records to trigger an <a href="_cordova_background_geolocation_lt_.config.html#autosync">autoSync</a> action.</td>
									</tr>
									<tr>
										<td><a href="_cordova_background_geolocation_lt_.config.html#batchsync">batchSync</a></td>
										<td><code>Boolean</code></td>
										<td><strong>Default: <code>false</code></strong>.  If you&#39;ve enabled HTTP feature by configuring an <a href="_cordova_background_geolocation_lt_.config.html#url">url</a>, <a href="_cordova_background_geolocation_lt_.config.html#batchsync">batchSync</a>: true will POST all the locations currently stored in native SQLite datbase to your server in a single HTTP POST request.</td>
									</tr>
									<tr>
										<td><a href="_cordova_background_geolocation_lt_.config.html#maxbatchsize">maxBatchSize</a></td>
										<td><code>Integer</code></td>
										<td><strong>Default: <code>-1</code></strong>.  If you&#39;ve enabled HTTP feature by configuring an <a href="_cordova_background_geolocation_lt_.config.html#url">url</a> and <a href="_cordova_background_geolocation_lt_.config.html#batchsync">batchSync</a>: true, this parameter will limit the number of records attached to each batch.</td>
									</tr>
									<tr>
										<td><a href="_cordova_background_geolocation_lt_.config.html#maxdaystopersist">maxDaysToPersist</a></td>
										<td><code>Integer</code></td>
										<td><strong>Default: <code>1</code></strong>.  Maximum number of days to store a geolocation in plugin&#39;s SQLite database.</td>
									</tr>
									<tr>
										<td><a href="_cordova_background_geolocation_lt_.config.html#maxrecordstopersist">maxRecordsToPersist</a></td>
										<td><code>Integer</code></td>
										<td><strong>Default: <code>-1</code></strong>.  Maximum number of records to persist in plugin&#39;s SQLite database.  Defaults to <code>-1</code> (no limit).  To disable persisting locations, set this to <code>0</code></td>
									</tr>
									<tr>
										<td><a href="_cordova_background_geolocation_lt_.config.html#locationsorderdirection">locationsOrderDirection</a></td>
										<td><code>String</code></td>
										<td><strong>Default: <code>ASC</code></strong>.  Controls the order that locations are selected from the database (and synced to your server).  Defaults to ascending (<code>ASC</code>), where oldest locations are synced first.  Descending (<code>DESC</code>) syncs latest locations first.</td>
									</tr>
							</tbody></table>
							<h2 id="application-options">Application Options</h2>
							<h3 id="-application-common-options">[Application] Common Options</h3>
							<table>
								<thead>
									<tr>
										<th>Option</th>
										<th>Type</th>
										<th>Note</th>
									</tr>
								</thead>
								<tbody><tr>
										<td><a href="_cordova_background_geolocation_lt_.config.html#stoponterminate">stopOnTerminate</a></td>
										<td><code>Boolean</code></td>
										<td><strong>Default: <code>true</code></strong>.  Set <code>false</code> to continue tracking after user teminates the app.</td>
									</tr>
									<tr>
										<td><a href="_cordova_background_geolocation_lt_.config.html#startonboot">startOnBoot</a></td>
										<td><code>Boolean</code></td>
										<td><strong>Default: <code>false</code></strong>.  Set to <code>true</code> to enable background-tracking after the device reboots.</td>
									</tr>
									<tr>
										<td><a href="_cordova_background_geolocation_lt_.config.html#heartbeatinterval">heartbeatInterval</a></td>
										<td><code>Integer</code></td>
										<td><strong>Default: <code>60</code></strong>.  Rate in <strong>seconds</strong> to fire <a href="../classes/_cordova_background_geolocation_lt_.backgroundgeolocation.html#onheartbeat">BackgroundGeolocation.onHeartbeat</a> events.</td>
									</tr>
									<tr>
										<td><a href="_cordova_background_geolocation_lt_.config.html#schedule">schedule</a></td>
										<td><code>Array</code></td>
										<td><strong>Default: <code>undefined</code></strong>.  Defines a schedule to automatically start/stop tracking at configured times</td>
									</tr>
							</tbody></table>
							<h3 id="-application-ios-options">[Application] iOS Options</h3>
							<table>
								<thead>
									<tr>
										<th>Option</th>
										<th>Type</th>
										<th>Note</th>
									</tr>
								</thead>
								<tbody><tr>
										<td><a href="_cordova_background_geolocation_lt_.config.html#preventsuspend">preventSuspend</a></td>
										<td><code>Boolean</code></td>
										<td><strong>Default: <code>false</code></strong>.  Enable this to prevent <strong>iOS</strong> from suspending your app in the background while in the <strong>stationary state</strong>.  Must be used in conjunction with a <a href="_cordova_background_geolocation_lt_.config.html#heartbeatinterval">heartbeatInterval</a>.</td>
									</tr>
							</tbody></table>
							<h3 id="-application-android-options">[Application] Android Options</h3>
							<table>
								<thead>
									<tr>
										<th>Option</th>
										<th>Type</th>
										<th>Note</th>
									</tr>
								</thead>
								<tbody><tr>
										<td><a href="_cordova_background_geolocation_lt_.config.html#foregroundservice">foregroundService</a></td>
										<td><code>Boolean</code></td>
										<td><strong>Default: <code>false</code></strong>.  Set <code>true</code> to make the plugin <em>mostly</em> immune to OS termination due to memory pressure from other apps.</td>
									</tr>
									<tr>
										<td><a href="_cordova_background_geolocation_lt_.config.html#enableheadless">enableHeadless</a></td>
										<td><code>Boolean</code></td>
										<td><strong>Default: <code>false</code></strong>.  Set to <code>true</code> to enable &quot;Headless&quot; mode when the user terminates the application.  In this mode, you can respond to all the plugin&#39;s events in the native Android environment.  For more information, see the wiki for <a href="https://github.com/transistorsoft/cordova-background-geolocation-lt/wiki/Android-Headless-Mode">Android Headless Mode</a></td>
									</tr>
									<tr>
										<td><a href="_cordova_background_geolocation_lt_.config.html#notificationpriority">notificationPriority</a></td>
										<td><a href="../modules/_cordova_background_geolocation_lt_.html#notificationpriority">NotificationPriority</a></td>
										<td><strong>Default: <code>NOTIFICATION_PRIORITY_DEFAULT</code></strong>.  Controls the priority of the <code>foregroundService</code> notification and notification-bar icon.</td>
									</tr>
									<tr>
										<td><a href="_cordova_background_geolocation_lt_.config.html#notificationtitle">notificationTitle</a></td>
										<td><code>String</code></td>
										<td><strong>Default: <code>Your App Name</code></strong>.  When running the service with <a href="_cordova_background_geolocation_lt_.config.html#foregroundservice">foregroundService</a>: true, Android requires a persistent notification in the Notification Bar.  Defaults to the application name</td>
									</tr>
									<tr>
										<td><a href="_cordova_background_geolocation_lt_.config.html#notificationtext">notificationText</a></td>
										<td><code>String</code></td>
										<td><strong>Default: <code>Location service activated</code></strong>.  When running the service with <a href="_cordova_background_geolocation_lt_.config.html#foregroundservice">foregroundService</a>: true, Android requires a persistent notification in the Notification Bar.</td>
									</tr>
									<tr>
										<td><a href="_cordova_background_geolocation_lt_.config.html#notificationcolor">notificationColor</a></td>
										<td><code>String</code></td>
										<td><strong>Default: <code>undefined</code></strong>.  When running the service with <a href="_cordova_background_geolocation_lt_.config.html#foregroundservice">foregroundService</a>: true, controls the color of the persistent notification in the Notification Bar.</td>
									</tr>
									<tr>
										<td><a href="_cordova_background_geolocation_lt_.config.html#notificationsmallicon">notificationSmallIcon</a></td>
										<td><code>String</code></td>
										<td><strong>Default: <code>Your App Icon</code></strong>.  When running the service with <a href="_cordova_background_geolocation_lt_.config.html#foregroundservice">foregroundService</a>: true, controls your customize notification <em>small</em> icon.  Defaults to your application icon.</td>
									</tr>
									<tr>
										<td><a href="_cordova_background_geolocation_lt_.config.html#notificationlargeicon">notificationLargeIcon</a></td>
										<td><code>String</code></td>
										<td><strong>Default: <code>undefined</code></strong>.  When running the service with <a href="_cordova_background_geolocation_lt_.config.html#foregroundservice">foregroundService</a>: true, controls your customize notification <em>large</em> icon.  Defaults to <code>undefined</code>.</td>
									</tr>
									<tr>
										<td><a href="_cordova_background_geolocation_lt_.config.html#notificationchannelname">notificationChannelName</a></td>
										<td><code>String</code></td>
										<td><strong>Default: <code>app name</code></strong>.  On Android O+, the plugin&#39;s foreground-service needs to create a &quot;Notification Channel&quot;.  The name of this channel can be seen in Settings-&gt;App &amp; Notifications-&gt;Your App.  Defaults to <code>Your App</code>.</td>
									</tr>
									<tr>
										<td><a href="_cordova_background_geolocation_lt_.config.html#forcereloadonmotionchange">forceReloadOnMotionChange</a></td>
										<td><code>Boolean</code></td>
										<td><strong>Default: <code>false</code></strong>.  Launch your app whenever the <a href="../classes/_cordova_background_geolocation_lt_.backgroundgeolocation.html#onmotionchange">BackgroundGeolocation.onMotionChange</a> event fires.</td>
									</tr>
									<tr>
										<td><a href="_cordova_background_geolocation_lt_.config.html#forcereloadonlocationchange">forceReloadOnLocationChange</a></td>
										<td><code>Boolean</code></td>
										<td><strong>Default: <code>false</code></strong>.  Launch your app whenever the <a href="../classes/_cordova_background_geolocation_lt_.backgroundgeolocation.html#onlocation">BackgroundGeolocation.onLocation</a> event fires.</td>
									</tr>
									<tr>
										<td><a href="_cordova_background_geolocation_lt_.config.html#forcereloadongeofence">forceReloadOnGeofence</a></td>
										<td><code>Boolean</code></td>
										<td><strong>Default: <code>false</code></strong>.  Launch your app whenever the <a href="../classes/_cordova_background_geolocation_lt_.backgroundgeolocation.html#ongeofence">BackgroundGeolocation.onGeofence</a> event fires.</td>
									</tr>
									<tr>
										<td><a href="_cordova_background_geolocation_lt_.config.html#forcereloadonheartbeat">forceReloadOnHeartbeat</a></td>
										<td><code>Boolean</code></td>
										<td><strong>Default: <code>false</code></strong>.  Launch your app whenever the <a href="../classes/_cordova_background_geolocation_lt_.backgroundgeolocation.html#onheartbeat">BackgroundGeolocation.onHeartbeat</a> event fires.</td>
									</tr>
									<tr>
										<td><a href="_cordova_background_geolocation_lt_.config.html#forcereloadonschedule">forceReloadOnSchedule</a></td>
										<td><code>Boolean</code></td>
										<td><strong>Default: <code>false</code></strong>.  Launch your app whenever a <a href="../classes/_cordova_background_geolocation_lt_.backgroundgeolocation.html#onschedule">BackgroundGeolocation.onSchedule</a> event fires.</td>
									</tr>
									<tr>
										<td><a href="_cordova_background_geolocation_lt_.config.html#forcereloadonboot">forceReloadOnBoot</a></td>
										<td><code>Boolean</code></td>
										<td><strong>Default: <code>false</code></strong>.  If the user reboots the device with the plugin configured for <a href="_cordova_background_geolocation_lt_.config.html#startonboot">startOnBoot</a>: true, your app will launch when the device is rebooted.</td>
									</tr>
							</tbody></table>
							<h2 id="geofencing-options">Geofencing Options</h2>
							<ul>
								<li>📘 <a href="_cordova_background_geolocation_lt_.geofence.html">Geofence</a> Guide.</li>
							</ul>
							<table>
								<thead>
									<tr>
										<th>Option</th>
										<th>Type</th>
										<th>Note</th>
									</tr>
								</thead>
								<tbody><tr>
										<td><a href="_cordova_background_geolocation_lt_.config.html#geofenceproximityradius">geofenceProximityRadius</a></td>
										<td><code>Integer</code></td>
										<td><strong>Default: <code>1000</code></strong>.  Radius in <strong>meters</strong> to query for geofences within proximity.</td>
									</tr>
									<tr>
										<td><a href="_cordova_background_geolocation_lt_.config.html#geofenceinitialtriggerentry">geofenceInitialTriggerEntry</a></td>
										<td><code>Boolean</code></td>
										<td><strong>Default: <code>true</code></strong>.  Set <code>false</code> to disable triggering a geofence immediately if device is already inside it.</td>
									</tr>
							</tbody></table>
							<h2 id="logging-debug-options">Logging &amp; Debug Options</h2>
							<ul>
								<li><a href="https://github.com/transistorsoft/cordova-background-geolocation-lt/wiki/Debugging">Logging &amp; Debugging Guide</a></li>
							</ul>
							<table>
								<thead>
									<tr>
										<th>Option</th>
										<th>Type</th>
										<th>Note</th>
									</tr>
								</thead>
								<tbody><tr>
										<td><a href="_cordova_background_geolocation_lt_.config.html#debug">debug</a></td>
										<td><code>Boolean</code></td>
										<td><strong>Default: <code>false</code></strong>.  When enabled, the plugin will emit sounds &amp; notifications for life-cycle events of background-geolocation</td>
									</tr>
									<tr>
										<td><a href="_cordova_background_geolocation_lt_.config.html#loglevel">logLevel</a></td>
										<td><code>Integer</code></td>
										<td><strong>Default: <code>LOG_LEVEL_VERBOSE</code></strong>.  Sets the verbosity of the plugin&#39;s logs from <code>LOG_LEVEL_OFF</code> to <code>LOG_LEVEL_VERBOSE</code></td>
									</tr>
									<tr>
										<td><a href="_cordova_background_geolocation_lt_.config.html#logmaxdays">logMaxDays</a></td>
										<td><code>Integer</code></td>
										<td><strong>Default: <code>3</code></strong>.  Maximum days to persist a log-entry in database.</td>
									</tr>
							</tbody></table>
						</dd>
					</dl>
				</div>
			</section>
			<section class="tsd-panel tsd-hierarchy">
				<h3>Hierarchy</h3>
				<ul class="tsd-hierarchy">
					<li>
						<span class="target">Config</span>
						<ul class="tsd-hierarchy">
							<li>
								<a href="_cordova_background_geolocation_lt_.state.html" class="tsd-signature-type">State</a>
							</li>
						</ul>
					</li>
				</ul>
			</section>
			<section class="tsd-panel-group tsd-index-group">
				<h2>Index</h2>
				<section class="tsd-panel tsd-index-panel">
					<div class="tsd-index-content">
						<section class="tsd-index-section tsd-is-not-exported">
							<h3>Properties</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported"><a href="_cordova_background_geolocation_lt_.config.html#activityrecognitioninterval" class="tsd-kind-icon">activity<wbr>Recognition<wbr>Interval</a></li>
								<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported"><a href="_cordova_background_geolocation_lt_.config.html#activitytype" class="tsd-kind-icon">activity<wbr>Type</a></li>
								<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported"><a href="_cordova_background_geolocation_lt_.config.html#allowidenticallocations" class="tsd-kind-icon">allow<wbr>Identical<wbr>Locations</a></li>
								<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported"><a href="_cordova_background_geolocation_lt_.config.html#autosync" class="tsd-kind-icon">auto<wbr>Sync</a></li>
								<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported"><a href="_cordova_background_geolocation_lt_.config.html#autosyncthreshold" class="tsd-kind-icon">auto<wbr>Sync<wbr>Threshold</a></li>
								<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported"><a href="_cordova_background_geolocation_lt_.config.html#batchsync" class="tsd-kind-icon">batch<wbr>Sync</a></li>
								<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported"><a href="_cordova_background_geolocation_lt_.config.html#debug" class="tsd-kind-icon">debug</a></li>
								<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported"><a href="_cordova_background_geolocation_lt_.config.html#defertime" class="tsd-kind-icon">defer<wbr>Time</a></li>
								<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported"><a href="_cordova_background_geolocation_lt_.config.html#desiredaccuracy" class="tsd-kind-icon">desired<wbr>Accuracy</a></li>
								<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported"><a href="_cordova_background_geolocation_lt_.config.html#desiredodometeraccuracy" class="tsd-kind-icon">desired<wbr>Odometer<wbr>Accuracy</a></li>
								<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported"><a href="_cordova_background_geolocation_lt_.config.html#disableelasticity" class="tsd-kind-icon">disable<wbr>Elasticity</a></li>
								<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported"><a href="_cordova_background_geolocation_lt_.config.html#disablelocationauthorizationalert" class="tsd-kind-icon">disable<wbr>Location<wbr>Authorization<wbr>Alert</a></li>
								<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported"><a href="_cordova_background_geolocation_lt_.config.html#disablemotionactivityupdates" class="tsd-kind-icon">disable<wbr>Motion<wbr>Activity<wbr>Updates</a></li>
								<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported"><a href="_cordova_background_geolocation_lt_.config.html#disablestopdetection" class="tsd-kind-icon">disable<wbr>Stop<wbr>Detection</a></li>
								<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported"><a href="_cordova_background_geolocation_lt_.config.html#distancefilter" class="tsd-kind-icon">distance<wbr>Filter</a></li>
								<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported"><a href="_cordova_background_geolocation_lt_.config.html#elasticitymultiplier" class="tsd-kind-icon">elasticity<wbr>Multiplier</a></li>
								<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported"><a href="_cordova_background_geolocation_lt_.config.html#enableheadless" class="tsd-kind-icon">enable<wbr>Headless</a></li>
								<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported"><a href="_cordova_background_geolocation_lt_.config.html#enabletimestampmeta" class="tsd-kind-icon">enable<wbr>Timestamp<wbr>Meta</a></li>
								<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported"><a href="_cordova_background_geolocation_lt_.config.html#extras" class="tsd-kind-icon">extras</a></li>
								<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported"><a href="_cordova_background_geolocation_lt_.config.html#fastestlocationupdateinterval" class="tsd-kind-icon">fastest<wbr>Location<wbr>Update<wbr>Interval</a></li>
								<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported"><a href="_cordova_background_geolocation_lt_.config.html#forcereloadonboot" class="tsd-kind-icon">force<wbr>Reload<wbr>OnBoot</a></li>
								<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported"><a href="_cordova_background_geolocation_lt_.config.html#forcereloadongeofence" class="tsd-kind-icon">force<wbr>Reload<wbr>OnGeofence</a></li>
								<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported"><a href="_cordova_background_geolocation_lt_.config.html#forcereloadonheartbeat" class="tsd-kind-icon">force<wbr>Reload<wbr>OnHeartbeat</a></li>
								<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported"><a href="_cordova_background_geolocation_lt_.config.html#forcereloadonlocationchange" class="tsd-kind-icon">force<wbr>Reload<wbr>OnLocation<wbr>Change</a></li>
								<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported"><a href="_cordova_background_geolocation_lt_.config.html#forcereloadonmotionchange" class="tsd-kind-icon">force<wbr>Reload<wbr>OnMotion<wbr>Change</a></li>
								<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported"><a href="_cordova_background_geolocation_lt_.config.html#forcereloadonschedule" class="tsd-kind-icon">force<wbr>Reload<wbr>OnSchedule</a></li>
								<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported"><a href="_cordova_background_geolocation_lt_.config.html#foregroundservice" class="tsd-kind-icon">foreground<wbr>Service</a></li>
								<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported"><a href="_cordova_background_geolocation_lt_.config.html#geofenceinitialtriggerentry" class="tsd-kind-icon">geofence<wbr>Initial<wbr>Trigger<wbr>Entry</a></li>
								<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported"><a href="_cordova_background_geolocation_lt_.config.html#geofenceproximityradius" class="tsd-kind-icon">geofence<wbr>Proximity<wbr>Radius</a></li>
								<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported"><a href="_cordova_background_geolocation_lt_.config.html#geofencetemplate" class="tsd-kind-icon">geofence<wbr>Template</a></li>
								<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported"><a href="_cordova_background_geolocation_lt_.config.html#headers" class="tsd-kind-icon">headers</a></li>
								<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported"><a href="_cordova_background_geolocation_lt_.config.html#heartbeatinterval" class="tsd-kind-icon">heartbeat<wbr>Interval</a></li>
								<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported"><a href="_cordova_background_geolocation_lt_.config.html#httprootproperty" class="tsd-kind-icon">http<wbr>Root<wbr>Property</a></li>
								<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported"><a href="_cordova_background_geolocation_lt_.config.html#httptimeout" class="tsd-kind-icon">http<wbr>Timeout</a></li>
								<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported"><a href="_cordova_background_geolocation_lt_.config.html#ismoving" class="tsd-kind-icon">is<wbr>Moving</a></li>
								<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported"><a href="_cordova_background_geolocation_lt_.config.html#locationauthorizationalert" class="tsd-kind-icon">location<wbr>Authorization<wbr>Alert</a></li>
								<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported"><a href="_cordova_background_geolocation_lt_.config.html#locationauthorizationrequest" class="tsd-kind-icon">location<wbr>Authorization<wbr>Request</a></li>
								<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported"><a href="_cordova_background_geolocation_lt_.config.html#locationtemplate" class="tsd-kind-icon">location<wbr>Template</a></li>
								<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported"><a href="_cordova_background_geolocation_lt_.config.html#locationtimeout" class="tsd-kind-icon">location<wbr>Timeout</a></li>
								<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported"><a href="_cordova_background_geolocation_lt_.config.html#locationupdateinterval" class="tsd-kind-icon">location<wbr>Update<wbr>Interval</a></li>
								<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported"><a href="_cordova_background_geolocation_lt_.config.html#locationsorderdirection" class="tsd-kind-icon">locations<wbr>Order<wbr>Direction</a></li>
								<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported"><a href="_cordova_background_geolocation_lt_.config.html#loglevel" class="tsd-kind-icon">log<wbr>Level</a></li>
								<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported"><a href="_cordova_background_geolocation_lt_.config.html#logmaxdays" class="tsd-kind-icon">log<wbr>Max<wbr>Days</a></li>
								<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported"><a href="_cordova_background_geolocation_lt_.config.html#maxbatchsize" class="tsd-kind-icon">max<wbr>Batch<wbr>Size</a></li>
								<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported"><a href="_cordova_background_geolocation_lt_.config.html#maxdaystopersist" class="tsd-kind-icon">max<wbr>Days<wbr>ToPersist</a></li>
								<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported"><a href="_cordova_background_geolocation_lt_.config.html#maxrecordstopersist" class="tsd-kind-icon">max<wbr>Records<wbr>ToPersist</a></li>
								<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported"><a href="_cordova_background_geolocation_lt_.config.html#method" class="tsd-kind-icon">method</a></li>
								<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported"><a href="_cordova_background_geolocation_lt_.config.html#minimumactivityrecognitionconfidence" class="tsd-kind-icon">minimum<wbr>Activity<wbr>Recognition<wbr>Confidence</a></li>
								<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported"><a href="_cordova_background_geolocation_lt_.config.html#notificationchannelname" class="tsd-kind-icon">notification<wbr>Channel<wbr>Name</a></li>
								<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported"><a href="_cordova_background_geolocation_lt_.config.html#notificationcolor" class="tsd-kind-icon">notification<wbr>Color</a></li>
								<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported"><a href="_cordova_background_geolocation_lt_.config.html#notificationlargeicon" class="tsd-kind-icon">notification<wbr>Large<wbr>Icon</a></li>
								<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported"><a href="_cordova_background_geolocation_lt_.config.html#notificationpriority" class="tsd-kind-icon">notification<wbr>Priority</a></li>
								<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported"><a href="_cordova_background_geolocation_lt_.config.html#notificationsmallicon" class="tsd-kind-icon">notification<wbr>Small<wbr>Icon</a></li>
								<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported"><a href="_cordova_background_geolocation_lt_.config.html#notificationtext" class="tsd-kind-icon">notification<wbr>Text</a></li>
								<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported"><a href="_cordova_background_geolocation_lt_.config.html#notificationtitle" class="tsd-kind-icon">notification<wbr>Title</a></li>
								<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported"><a href="_cordova_background_geolocation_lt_.config.html#params" class="tsd-kind-icon">params</a></li>
								<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported"><a href="_cordova_background_geolocation_lt_.config.html#pauseslocationupdatesautomatically" class="tsd-kind-icon">pauses<wbr>Location<wbr>Updates<wbr>Automatically</a></li>
								<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported"><a href="_cordova_background_geolocation_lt_.config.html#preventsuspend" class="tsd-kind-icon">prevent<wbr>Suspend</a></li>
								<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported"><a href="_cordova_background_geolocation_lt_.config.html#reset" class="tsd-kind-icon">reset</a></li>
								<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported"><a href="_cordova_background_geolocation_lt_.config.html#schedule" class="tsd-kind-icon">schedule</a></li>
								<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported"><a href="_cordova_background_geolocation_lt_.config.html#startonboot" class="tsd-kind-icon">start<wbr>OnBoot</a></li>
								<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported"><a href="_cordova_background_geolocation_lt_.config.html#stationaryradius" class="tsd-kind-icon">stationary<wbr>Radius</a></li>
								<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported"><a href="_cordova_background_geolocation_lt_.config.html#stopafterelapsedminutes" class="tsd-kind-icon">stop<wbr>After<wbr>Elapsed<wbr>Minutes</a></li>
								<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported"><a href="_cordova_background_geolocation_lt_.config.html#stopdetectiondelay" class="tsd-kind-icon">stop<wbr>Detection<wbr>Delay</a></li>
								<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported"><a href="_cordova_background_geolocation_lt_.config.html#stoponstationary" class="tsd-kind-icon">stop<wbr>OnStationary</a></li>
								<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported"><a href="_cordova_background_geolocation_lt_.config.html#stoponterminate" class="tsd-kind-icon">stop<wbr>OnTerminate</a></li>
								<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported"><a href="_cordova_background_geolocation_lt_.config.html#stoptimeout" class="tsd-kind-icon">stop<wbr>Timeout</a></li>
								<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported"><a href="_cordova_background_geolocation_lt_.config.html#triggeractivities" class="tsd-kind-icon">trigger<wbr>Activities</a></li>
								<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported"><a href="_cordova_background_geolocation_lt_.config.html#url" class="tsd-kind-icon">url</a></li>
								<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported"><a href="_cordova_background_geolocation_lt_.config.html#usesignificantchangesonly" class="tsd-kind-icon">use<wbr>Significant<wbr>Changes<wbr>Only</a></li>
							</ul>
						</section>
					</div>
				</section>
			</section>
			<section class="tsd-panel-group tsd-member-group tsd-is-not-exported">
				<h2>Properties</h2>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
					<a name="activityrecognitioninterval" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> activity<wbr>Recognition<wbr>Interval</h3>
					<div class="tsd-signature tsd-kind-icon">activity<wbr>Recognition<wbr>Interval<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
					<aside class="tsd-sources">
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>Controls the sample-rate of the motion activity-recognition system.</p>
						</div>
						<dl class="tsd-comment-tags">
							<dt class="tsd-comment-tag-break">break</dt>
							<dd><p>Defaults to <code>10000</code> (10 seconds).  This is primarily an <strong>Android</strong> option, since only Android can constantly monitor the activity-detection API
									in the background (iOS uses a &quot;stationary geofence&quot; to detect device-motion).  The desired time between activity detections. Larger values
									will result in fewer activity detections while improving battery life. A value of 0 will result in activity detections at the fastest possible
								rate.</p>
							</dd>
						</dl>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
					<a name="activitytype" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> activity<wbr>Type</h3>
					<div class="tsd-signature tsd-kind-icon">activity<wbr>Type<span class="tsd-signature-symbol">:</span> <a href="../modules/_cordova_background_geolocation_lt_.html#activitytype" class="tsd-signature-type">ActivityType</a></div>
					<aside class="tsd-sources">
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p><strong><code>[iOS only]</code></strong> Presumably, this affects iOS stop-detect algorithm.  Apple is vague about what exactly this option does.</p>
						</div>
						<p>Available values are defined as constants upon the <a href="../classes/_cordova_background_geolocation_lt_.backgroundgeolocation.html">BackgroundGeolocation</a> class.</p>
						<table>
							<thead>
								<tr>
									<th>Name</th>
								</tr>
							</thead>
							<tbody><tr>
									<td><a href="../classes/_cordova_background_geolocation_lt_.backgroundgeolocation.html#activity_type_other">BackgroundGeolocation.ACTIVITY_TYPE_OTHER</a></td>
								</tr>
								<tr>
									<td><a href="../classes/_cordova_background_geolocation_lt_.backgroundgeolocation.html#activity_type_automotive_navigation">BackgroundGeolocation.ACTIVITY_TYPE_AUTOMOTIVE_NAVIGATION</a></td>
								</tr>
								<tr>
									<td><a href="../classes/_cordova_background_geolocation_lt_.backgroundgeolocation.html#activity_type_fitness">BackgroundGeolocation.ACTIVITY_TYPE_FITNESS</a></td>
								</tr>
								<tr>
									<td><a href="../classes/_cordova_background_geolocation_lt_.backgroundgeolocation.html#activity_type_other_navigation">BackgroundGeolocation.ACTIVITY_TYPE_OTHER_NAVIGATION</a></td>
								</tr>
						</tbody></table>
						<dl class="tsd-comment-tags">
							<dt class="tsd-comment-tag-example">example</dt>
							<dd><pre><code class="language-javascript">BackgroundGeolocation.ready({
  <span class="hljs-attr">activityType</span>: BackgroundGeolocation.ACTIVITY_TYPE_OTHER
);</code></pre>
								<h3 id="-see-also-">ℹ️ See also:</h3>
								<ul>
									<li><a href="https://developer.apple.com/reference/corelocation/cllocationmanager/1620567-activitytype?language=objc">Apple docs</a>.</li>
								</ul>
							</dd>
						</dl>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
					<a name="allowidenticallocations" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> allow<wbr>Identical<wbr>Locations</h3>
					<div class="tsd-signature tsd-kind-icon">allow<wbr>Identical<wbr>Locations<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
					<aside class="tsd-sources">
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p><strong><code>[Android only]</code></strong> Allow recording locations which are duplicates of the previous.</p>
						</div>
						<dl class="tsd-comment-tags">
							<dt class="tsd-comment-tag-break">break</dt>
							<dd><p>By default, the Android plugin will ignore a received location when it is <em>identical</em> to the previous location.  Set <code>true</code> to override this behaviour and record <em>every</em> location, regardless if it is identical to the last location.</p>
								<p>In the logs, you will see a location being ignored:</p>
								<pre><code><span class="hljs-string">TSLocationManager:</span>   ℹ️  <span class="hljs-string">IGNORED:</span> same <span class="hljs-keyword">as</span> last location</code></pre><p>An identical location is often generated when changing state from <em>stationary</em> -&gt; <em>moving</em>, where a single location is first requested (the <a href="../classes/_cordova_background_geolocation_lt_.backgroundgeolocation.html#onmotionchange">BackgroundGeolocation.onMotionChange</a> location) before turning on regular location updates.  Changing geolocation config params can also generate a duplicate location (eg: changing <a href="_cordova_background_geolocation_lt_.config.html#distancefilter">distanceFilter</a>).</p>
							</dd>
						</dl>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
					<a name="autosync" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> auto<wbr>Sync</h3>
					<div class="tsd-signature tsd-kind-icon">auto<wbr>Sync<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
					<aside class="tsd-sources">
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>Immediately upload each recorded location to your configured <a href="_cordova_background_geolocation_lt_.config.html#url">url</a>.</p>
						</div>
						<dl class="tsd-comment-tags">
							<dt class="tsd-comment-tag-break">break</dt>
							<dd><p>Default is <code>true</code>.  If you&#39;ve enabeld HTTP feature by configuring an <a href="_cordova_background_geolocation_lt_.config.html#url">url</a>, the plugin will attempt to HTTP POST each location to your
									server <strong>as soon as it is recorded</strong>.  If you set <a href="_cordova_background_geolocation_lt_.config.html#autosync">autoSync</a> <strong><code>false</code></strong>, it&#39;s up to you to <strong>manually</strong> execute the
									<a href="../classes/_cordova_background_geolocation_lt_.backgroundgeolocation.html#sync">BackgroundGeolocation.sync</a> method to initate the HTTP POST &mdash; the SDK will continue to persist <strong>every</strong> recorded location in the
								SQLite database until you execute <a href="../classes/_cordova_background_geolocation_lt_.backgroundgeolocation.html#sync">BackgroundGeolocation.sync</a>.</p>
							</dd>
							<dt class="tsd-comment-tag-example">example</dt>
							<dd><pre><code class="language-typescript">BackgroundGeolocation.ready({
  url: <span class="hljs-string">'http://my.server.com/locations'</span>,
  autoSync: <span class="hljs-literal">true</span>,
  params: {
    user_id: <span class="hljs-number">1234</span>
  }
})</code></pre>
								<h3 id="-see-also-">ℹ️ See also:</h3>
								<ul>
									<li><a href="_cordova_background_geolocation_lt_.config.html#autosyncthreshold">autoSyncThreshold</a></li>
									<li><a href="_cordova_background_geolocation_lt_.config.html#batchsync">batchSync</a></li>
									<li><a href="_cordova_background_geolocation_lt_.config.html#maxbatchsize">maxBatchSize</a></li>
								</ul>
							</dd>
						</dl>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
					<a name="autosyncthreshold" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> auto<wbr>Sync<wbr>Threshold</h3>
					<div class="tsd-signature tsd-kind-icon">auto<wbr>Sync<wbr>Threshold<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
					<aside class="tsd-sources">
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>The minimum number of persisted records the plugin must accumulate before triggering an <a href="_cordova_background_geolocation_lt_.config.html#autosync">autoSync</a> action.</p>
						</div>
						<dl class="tsd-comment-tags">
							<dt class="tsd-comment-tag-break">break</dt>
							<dd><p>Defaults to <code>0</code> (no threshold).  If you configure a value greater-than <strong><code>0</code></strong>, the plugin will wait until that many locations are
								recorded before executing HTTP requests to your server through your configured <a href="_cordova_background_geolocation_lt_.config.html#url">url</a>.</p>
								<p>ℹ️ Configuring <a href="_cordova_background_geolocation_lt_.config.html#autosyncthreshold">autoSyncThreshold</a> in conjunction with <a href="_cordova_background_geolocation_lt_.config.html#batchsync">batchSync</a> <strong><code>true</code></strong> <strong>can conserve battery</strong> by reducing the number of HTTP
								requets, since HTTP requets consume <em>far</em> more energy / second than GPS.</p>
							</dd>
							<dt class="tsd-comment-tag-example">example</dt>
							<dd><pre><code class="language-typescript">BackgroundGeolocation.ready({
  url: <span class="hljs-string">'http://my.server.com/locations'</span>,
  autoSync: <span class="hljs-literal">true</span>,
  autoSyncThreshold: <span class="hljs-number">5</span>,
  batchSync: <span class="hljs-literal">true</span>
})</code></pre>
								<pre><code>             <span class="hljs-number">1</span>  <span class="hljs-number">2</span>  <span class="hljs-number">3</span>  <span class="hljs-number">4</span>  <span class="hljs-number">5</span>    <span class="hljs-number">1</span>  <span class="hljs-number">2</span>  <span class="hljs-number">3</span>  <span class="hljs-number">4</span>  <span class="hljs-number">5</span>
Locations: <span class="hljs-variable">__</span>|<span class="hljs-variable">__</span>|<span class="hljs-variable">__</span>|<span class="hljs-variable">__</span>|<span class="hljs-variable">__</span>|<span class="hljs-variable">____</span>|<span class="hljs-variable">__</span>|<span class="hljs-variable">__</span>|<span class="hljs-variable">__</span>|<span class="hljs-variable">__</span>|<span class="hljs-variable">___</span>...

                        POST             POST
  Network: <span class="hljs-variable">______________</span>|<span class="hljs-variable">________________</span>|<span class="hljs-variable">___</span>...</code></pre></dd>
						</dl>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
					<a name="batchsync" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> batch<wbr>Sync</h3>
					<div class="tsd-signature tsd-kind-icon">batch<wbr>Sync<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
					<aside class="tsd-sources">
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>POST multiple locations to your <a href="_cordova_background_geolocation_lt_.config.html#url">url</a> in a single HTTP request.</p>
						</div>
						<p>Default is <strong><code>false</code></strong>.  If you&#39;ve enabled HTTP feature by configuring an <a href="_cordova_background_geolocation_lt_.config.html#url">url</a>, <a href="_cordova_background_geolocation_lt_.config.html#batchsync">batchSync</a> <strong><code>true</code></strong> will POST <em>all</em> the locations
							currently stored in native SQLite datbase to your server in a single HTTP POST request.  With <a href="_cordova_background_geolocation_lt_.config.html#batchsync">batchSync</a> <strong><code>false</code></strong>, an HTTP POST
						request will be initiated for <strong>each</strong> location in database.</p>
						<h4 id="batchsync-true-all-accumulated-locations-posted-in-1-http-request-"><strong><code>batchSync: true</code></strong> &mdash; All accumulated locations POSTed in 1 HTTP request.</h4>
						<dl class="tsd-comment-tags">
							<dt class="tsd-comment-tag-example">example</dt>
							<dd><pre><code class="language-typescript"><span class="hljs-comment">// Using batchSync: true</span>
BackgroundGeolocation.ready({
  url: <span class="hljs-string">'http://my.server.com/locations'</span>,
  autoSync: <span class="hljs-literal">true</span>,
  autoSyncThreshold: <span class="hljs-number">5</span>,
  batchSync: <span class="hljs-literal">true</span>
})</code></pre>
								<pre><code>             <span class="hljs-number">1</span>  <span class="hljs-number">2</span>  <span class="hljs-number">3</span>  <span class="hljs-number">4</span>  <span class="hljs-number">5</span>    <span class="hljs-number">1</span>  <span class="hljs-number">2</span>  <span class="hljs-number">3</span>  <span class="hljs-number">4</span>  <span class="hljs-number">5</span>
Locations: <span class="hljs-variable">__</span>|<span class="hljs-variable">__</span>|<span class="hljs-variable">__</span>|<span class="hljs-variable">__</span>|<span class="hljs-variable">__</span>|<span class="hljs-variable">____</span>|<span class="hljs-variable">__</span>|<span class="hljs-variable">__</span>|<span class="hljs-variable">__</span>|<span class="hljs-variable">__</span>|<span class="hljs-variable">___</span>...

                        POST            POST
  Network: <span class="hljs-variable">______________</span>|<span class="hljs-variable">________________</span>|<span class="hljs-variable">___</span>...</code></pre><h4 id="batchsync-false-1-post-per-location"><strong><code>batchSync: false</code></strong> &mdash; 1 POST per location</h4>
							</dd>
							<dt class="tsd-comment-tag-example">example</dt>
							<dd><pre><code class="language-typescript"><span class="hljs-comment">// With batchSync: false</span>
BackgroundGeolocation.ready({
  url: <span class="hljs-string">'http://my.server.com/locations'</span>,
  autoSync: <span class="hljs-literal">true</span>,
  autoSyncThreshold: <span class="hljs-number">5</span>,
  batchSync: <span class="hljs-literal">false</span>
})</code></pre>
								<pre><code>             <span class="hljs-number">1</span>  <span class="hljs-number">2</span>  <span class="hljs-number">3</span>  <span class="hljs-number">4</span>  <span class="hljs-number">5</span>    <span class="hljs-number">1</span>  <span class="hljs-number">2</span>  <span class="hljs-number">3</span>  <span class="hljs-number">4</span>  <span class="hljs-number">5</span>
Locations: <span class="hljs-variable">__</span>|<span class="hljs-variable">__</span>|<span class="hljs-variable">__</span>|<span class="hljs-variable">__</span>|<span class="hljs-variable">__</span>|<span class="hljs-variable">____</span>|<span class="hljs-variable">__</span>|<span class="hljs-variable">__</span>|<span class="hljs-variable">__</span>|<span class="hljs-variable">__</span>|<span class="hljs-variable">___</span>...

                         POST             POST
  Network: <span class="hljs-variable">______________</span>|||||<span class="hljs-variable">____________</span>|||||<span class="hljs-variable">___</span>...</code></pre><h3 id="-see-also-">ℹ️ See also:</h3>
								<ul>
									<li><a href="_cordova_background_geolocation_lt_.config.html#maxbatchsize">maxBatchSize</a></li>
									<li><a href="_cordova_background_geolocation_lt_.config.html#autosync">autoSync</a></li>
									<li><a href="_cordova_background_geolocation_lt_.config.html#autosyncthreshold">autoSyncThreshold</a>
									📘 See HTTP Guide: <a href="_cordova_background_geolocation_lt_.httpevent.html">HttpEvent</a></li>
								</ul>
							</dd>
						</dl>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
					<a name="debug" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> debug</h3>
					<div class="tsd-signature tsd-kind-icon">debug<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
					<aside class="tsd-sources">
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>Configure the plugin to emit sound effects and local-notifications during development.</p>
						</div>
						<dl class="tsd-comment-tags">
							<dt class="tsd-comment-tag-break">break</dt>
							<dd><p>Defaults to <strong><code>false</code></strong>.  When set to <strong><code>true</code></strong>, the plugin will emit debugging sounds and notifications for life-cycle events of <a href="../classes/_cordova_background_geolocation_lt_.backgroundgeolocation.html">BackgroundGeolocation</a>.</p>
								<h3 id="ios">iOS</h3>
								<p>In you wish to hear debug sounds in the background, you must manually enable the background-mode:</p>
								<p><strong><code>[x] Audio and Airplay</code></strong> background mode in <em>Background Capabilities</em> of XCode.</p>
								<p><img src="https://dl.dropboxusercontent.com/s/fl7exx3g8whot9f/enable-background-audio.png?dl=1" alt="">\</p>
								<h3 id="-see-also-">ℹ️ See also:</h3>
								<ul>
									<li><a href="https://github.com/transistorsoft/cordova-background-geolocation-lt/wiki/Debug-Sounds">Debugging Sounds</a></li>
								</ul>
							</dd>
						</dl>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
					<a name="defertime" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> defer<wbr>Time</h3>
					<div class="tsd-signature tsd-kind-icon">defer<wbr>Time<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
					<aside class="tsd-sources">
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p><strong><code>[Android only]</code></strong> Sets the maximum wait time in milliseconds for location updates.</p>
						</div>
						<p>Defaults to <code>0</code> (no defer).  If you pass a value at least 2x larger than the interval specified with <a href="_cordova_background_geolocation_lt_.config.html#locationupdateinterval">locationUpdateInterval</a>, then location delivery may be delayed and multiple locations can be delivered at once. Locations are determined at the <a href="_cordova_background_geolocation_lt_.config.html#locationupdateinterval">locationUpdateInterval</a> rate, but can be delivered in batch after the interval you set in this method. This <strong>can consume less battery</strong> and <strong>give more accurate locations</strong>, depending on the device&#39;s hardware capabilities. You should set this value to be as large as possible for your needs if you don&#39;t need immediate location delivery.</p>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
					<a name="desiredaccuracy" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> desired<wbr>Accuracy</h3>
					<div class="tsd-signature tsd-kind-icon">desired<wbr>Accuracy<span class="tsd-signature-symbol">:</span> <a href="../modules/_cordova_background_geolocation_lt_.html#locationaccuracy" class="tsd-signature-type">LocationAccuracy</a></div>
					<aside class="tsd-sources">
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>Specify the desired-accuracy of the geolocation system.</p>
						</div>
						<p>The following constants are defined upon the <a href="../classes/_cordova_background_geolocation_lt_.backgroundgeolocation.html">BackgroundGeolocation</a> class:</p>
						<table>
							<thead>
								<tr>
									<th>Name</th>
									<th>Location Providers</th>
									<th>Description</th>
								</tr>
							</thead>
							<tbody><tr>
									<td><a href="../classes/_cordova_background_geolocation_lt_.backgroundgeolocation.html#desired_accuracy_navigation">BackgroundGeolocation.DESIRED_ACCURACY_NAVIGATION</a></td>
									<td>(<strong>iOS only</strong>) GPS + Wifi + Cellular</td>
									<td>Highest power; highest accuracy</td>
								</tr>
								<tr>
									<td><a href="../classes/_cordova_background_geolocation_lt_.backgroundgeolocation.html#desired_accuracy_high">BackgroundGeolocation.DESIRED_ACCURACY_HIGH</a></td>
									<td>GPS + Wifi + Cellular</td>
									<td>Highest power; highest accuracy</td>
								</tr>
								<tr>
									<td><a href="../classes/_cordova_background_geolocation_lt_.backgroundgeolocation.html#desired_accuracy_medium">BackgroundGeolocation.DESIRED_ACCURACY_MEDIUM</a></td>
									<td>Wifi + Cellular</td>
									<td>Medium power; Medium accuracy;</td>
								</tr>
								<tr>
									<td><a href="../classes/_cordova_background_geolocation_lt_.backgroundgeolocation.html#desired_accuracy_low">BackgroundGeolocation.DESIRED_ACCURACY_LOW</a></td>
									<td>Wifi (low power) + Cellular</td>
									<td>Lower power; No GPS</td>
								</tr>
								<tr>
									<td><a href="../classes/_cordova_background_geolocation_lt_.backgroundgeolocation.html#desired_accuracy_very_low">BackgroundGeolocation.DESIRED_ACCURACY_VERY_LOW</a></td>
									<td>Cellular only</td>
									<td>Lowest power; lowest accuracy</td>
								</tr>
								<tr>
									<td><a href="../classes/_cordova_background_geolocation_lt_.backgroundgeolocation.html#desired_accuracy_lowest">BackgroundGeolocation.DESIRED_ACCURACY_LOWEST</a></td>
									<td>(<strong>iOS only</strong>)</td>
									<td>Lowest power; lowest accuracy</td>
								</tr>
						</tbody></table>
						<h3 id="-note-">⚠️ Note:</h3>
						<ul>
							<li>Only <strong><code>DESIRED_ACCURACY_HIGH</code></strong> uses GPS.  <code>speed</code>, <code>heading</code> and <code>altitude</code> are available only from GPS.</li>
						</ul>
						<dl class="tsd-comment-tags">
							<dt class="tsd-comment-tag-example">example</dt>
							<dd><pre><code class="language-typescript">BackgroundGeoloction.ready({
  desiredAccuracy: BackgroundGeolocation.DESIRED_ACCURACY_HIGH
});</code></pre>
								<p>For platform-specific information about location accuracy, see the corresponding API docs:</p>
								<ul>
									<li><a href="https://developer.android.com/reference/com/google/android/gms/location/LocationRequest.html#PRIORITY_BALANCED_POWER_ACCURACY">Android</a></li>
									<li><a href="https://developer.apple.com/reference/corelocation/cllocationmanager/1423836-desiredaccuracy?language=objc">iOS</a></li>
								</ul>
							</dd>
						</dl>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
					<a name="desiredodometeraccuracy" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> desired<wbr>Odometer<wbr>Accuracy</h3>
					<div class="tsd-signature tsd-kind-icon">desired<wbr>Odometer<wbr>Accuracy<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
					<aside class="tsd-sources">
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>The maximum location accuracy allowed for a location to be used for <a href="_cordova_background_geolocation_lt_.location.html#odometer">Location.odometer</a> calculations.</p>
						</div>
						<p>Defaults to <code>100</code>.  If a location arrives having <strong><code>accuracy &gt; desiredOdometerAccuracy</code></strong>, that location will not be used to update the
							odometer.  If you only want to calculate odometer from GPS locations, you could set <strong><code>desiredOdometerAccuracy: 10</code></strong>.
						This will prevent odometer updates when a device is moving around indoors, in a shopping mall, for example.</p>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
					<a name="disableelasticity" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> disable<wbr>Elasticity</h3>
					<div class="tsd-signature tsd-kind-icon">disable<wbr>Elasticity<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
					<aside class="tsd-sources">
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>Defaults to <strong><code>false</code></strong>.  Set <strong><code>true</code></strong> to disable automatic, speed-based <a href="_cordova_background_geolocation_lt_.config.html#distancefilter">distanceFilter</a> auto-scaling.  By default, the SDK automatically
							increases <a href="_cordova_background_geolocation_lt_.config.html#distancefilter">distanceFilter</a> as speed increases (and decreases it as speed <em>decreases</em>) in order to record fewer locations and conserve energy.</p>
						</div>
						<dl class="tsd-comment-tags">
							<dt class="tsd-comment-tag-break">break</dt>
							<dd><p>Note the following real example of &quot;elasticity&quot; on highway 101 towards San Francisco as the driver slows down while running into slower
								traffic &mdash; locations become compressed as <a href="_cordova_background_geolocation_lt_.config.html#distancefilter">distanceFilter</a> decreases.</p>
								<p><img src="https://dl.dropboxusercontent.com/s/uu0hs0sediw26ar/distance-filter-highway.png?dl=1" alt="distanceFilter at highway speed"></p>
								<h3 id="-see-also-">ℹ️ See also:</h3>
								<ul>
									<li><a href="_cordova_background_geolocation_lt_.config.html#elasticitymultiplier">elasticityMultiplier</a></li>
									<li><a href="_cordova_background_geolocation_lt_.config.html#distancefilter">distanceFilter</a></li>
								</ul>
							</dd>
						</dl>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
					<a name="disablelocationauthorizationalert" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> disable<wbr>Location<wbr>Authorization<wbr>Alert</h3>
					<div class="tsd-signature tsd-kind-icon">disable<wbr>Location<wbr>Authorization<wbr>Alert<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
					<aside class="tsd-sources">
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>Disables automatic authorization alert when plugin detects the user has disabled location authorization.</p>
						</div>
						<dl class="tsd-comment-tags">
							<dt class="tsd-comment-tag-break">break</dt>
							<dd><p>You will be responsible for handling disabled location authorization by listening to the <a href="../classes/_cordova_background_geolocation_lt_.backgroundgeolocation.html#onproviderchange">BackgroundGeolocation.onProviderChange</a> event.</p>
								<p>By default, the plugin automatically shows a native alert (configured via <a href="_cordova_background_geolocation_lt_.config.html#locationauthorizationalert">locationAuthorizationAlert</a> and <a href="_cordova_background_geolocation_lt_.config.html#locationauthorizationrequest">locationAuthorizationRequest</a> to the user when location-services are disabled, directing them to the settings screen.  If you <strong>do not</strong> desire this automated behaviour, set <code>disableLocationAuthorizationAlert: true</code>.</p>
							</dd>
							<dt class="tsd-comment-tag-example">example</dt>
							<dd><pre><code class="language-javascript">BackgroundGeolocation.onProviderChange(<span class="hljs-function">(<span class="hljs-params">event</span>) =&gt;</span> {
  <span class="hljs-built_in">console</span>.log(<span class="hljs-string">'[onProviderChange] '</span>, event);

  <span class="hljs-keyword">if</span> (!provider.enabled) {
    alert(<span class="hljs-string">'Please enable location services'</span>);
  }
});

BackgroundGeolocation.ready({
  <span class="hljs-attr">disableLocationAuthorizationAlert</span>: <span class="hljs-literal">true</span>
});</code></pre>
							</dd>
						</dl>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
					<a name="disablemotionactivityupdates" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> disable<wbr>Motion<wbr>Activity<wbr>Updates</h3>
					<div class="tsd-signature tsd-kind-icon">disable<wbr>Motion<wbr>Activity<wbr>Updates<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
					<aside class="tsd-sources">
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p><strong><code>[iOS only]</code></strong> Disable the plugin requesting &quot;Motion &amp; Fitness&quot; authorization from the User.</p>
						</div>
						<dl class="tsd-comment-tags">
							<dt class="tsd-comment-tag-break">break</dt>
							<dd><p>Defaults to <strong><code>false</code></strong>.  Set <strong><code>true</code></strong> to disable iOS <a href="https://developer.apple.com/reference/coremotion/cmmotionactivitymanager"><code>CMMotionActivityManager</code></a>-based motion-activity updates (eg: <code>walking</code>, <code>in_vehicle</code>).  This feature requires a device having the <strong>M7</strong> co-processor (ie: iPhone 5s and up).</p>
								<h3 id="-warning-">⚠️ Warning:</h3>
								<ul>
									<li>The plugin is <strong>HIGHLY</strong> optimized for motion-activity-updates.  If you <strong>do</strong> disable this, the plugin <em>will</em> drain more battery power.  You are <strong>STRONGLY</strong> advised against disabling this.  You should explain to your users with an appropriate <code>NSMotionUsageDescription</code> in your <code>Info.plist</code> file, for example:<blockquote>
											<p>&quot;Motion activity detection increases battery efficiency by intelligently toggling location-tracking&quot; off when your device is detected to be stationry.</p>
										</blockquote>
									</li>
								</ul>
								<h3 id="-note-">ℹ️ Note:</h3>
								<ul>
									<li>This feature will ask the user for &quot;Health updates&quot; permission using the <strong><code>NSMotionUsageDescription</code></strong> in your <code>Info.plist</code>.  If you do not wish to ask the user for the &quot;Health updates&quot;, set this option to <code>true</code>; However, you will no longer receive accurate activity data in the recorded locations.</li>
								</ul>
							</dd>
						</dl>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
					<a name="disablestopdetection" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> disable<wbr>Stop<wbr>Detection</h3>
					<div class="tsd-signature tsd-kind-icon">disable<wbr>Stop<wbr>Detection<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
					<aside class="tsd-sources">
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>Disable motion-activity related stop-detection.</p>
						</div>
						<dl class="tsd-comment-tags">
							<dt class="tsd-comment-tag-break">break</dt>
							<dd><h3 id="ios">iOS</h3>
								<p>Disables the accelerometer-based <strong>Stop-detection System</strong>.  When disabled, the plugin will use the default iOS behaviour of automatically
								turning off location-services when the device has stopped for <strong>exactly 15 minutes</strong>.  When disabled, you will no longer have control over <a href="_cordova_background_geolocation_lt_.config.html#stoptimeout">stopTimeout</a>.</p>
								<p>To <em>completely</em> disable automatically turning off iOS location-services, you must also provide <a href="_cordova_background_geolocation_lt_.config.html#pauseslocationupdatesautomatically">pausesLocationUpdatesAutomatically</a> <strong><code>false</code></strong>.</p>
							</dd>
							<dt class="tsd-comment-tag-example">example</dt>
							<dd><pre><code class="language-javascript">BackgroundGeolocation.ready({
  <span class="hljs-attr">disableStopDetection</span>: <span class="hljs-literal">true</span>,
  <span class="hljs-attr">pausesLocationUpdatesAutomatically</span>: <span class="hljs-literal">false</span>
});</code></pre>
								<h3 id="-ios-location-services-will-never-turn-off-">⚠️ iOS location-services will <strong>never</strong> turn off!</h3>
								<p>With the above configuration, iOS location-services will never turn off and you could <strong>quickly discharge the battery</strong>.  Do <strong>not</strong> do
									this unless you know <em>exactly</em> what you&#39;re doing (eg: A jogging app with <code>[Start workout]</code> / <code>[Stop Workout]</code> buttons
								executing <a href="../classes/_cordova_background_geolocation_lt_.backgroundgeolocation.html#changepace">BackgroundGeolocation.changePace</a>).</p>
								<h3 id="ios-stop-detection-timing">iOS Stop-detection timing</h3>
								<p><img src="https://dl.dropboxusercontent.com/s/ojjdfkmua15pskh/ios-stop-detection-timing.png?dl=1" alt=""></p>
								<h3 id="android">Android</h3>
								<p>Location-services <strong>will never turn OFF</strong> if you set this to <strong><code>true</code></strong>!  It will be purely up to you or the user to execute
								<a href="../classes/_cordova_background_geolocation_lt_.backgroundgeolocation.html#changepace">BackgroundGeolocation.changePace</a> <strong><code>false</code></strong> or <a href="../classes/_cordova_background_geolocation_lt_.backgroundgeolocation.html#stop">BackgroundGeolocation.stop</a> to turn off location-services.</p>
							</dd>
						</dl>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
					<a name="distancefilter" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> distance<wbr>Filter</h3>
					<div class="tsd-signature tsd-kind-icon">distance<wbr>Filter<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
					<aside class="tsd-sources">
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>The minimum distance (measured in meters) a device must move horizontally before an update event is generated.</p>
						</div>
						<p>However, by default, <strong><code>distanceFilter</code></strong> is elastically auto-calculated by the plugin:  When speed increases, <strong><code>distanceFilter</code></strong> increases;  when speed decreases, so too does <strong><code>distanceFilter</code></strong>.</p>
						<dl class="tsd-comment-tags">
							<dt class="tsd-comment-tag-break">break</dt>
							<dd><h3 id="-note-">ℹ️ Note:</h3>
								<ul>
									<li>To disable this behaviour, configure <a href="_cordova_background_geolocation_lt_.config.html#disableelasticity">disableElasticity</a> <strong><code>true</code></strong>.</li>
									<li>To control the scale of the automatic <code>distanceFilter</code> calculation, see <a href="_cordova_background_geolocation_lt_.config.html#elasticitymultiplier">elasticityMultiplier</a></li>
								</ul>
								<p><code>distanceFilter</code> is auto-scaled by rounding speed to the nearest <code>5 m/s</code> and adding <code>distanceFilter</code> meters for each <code>5 m/s</code> increment.</p>
								<p>For example, at biking speed of 7.7 m/s with a configured <code>distanceFilter: 30</code>:</p>
							</dd>
							<dt class="tsd-comment-tag-example">example</dt>
							<dd><pre><code>  rounded_speed = round(<span class="hljs-number">7.7</span>, <span class="hljs-number">5</span>)
  =&gt; <span class="hljs-number">10</span>
  multiplier = rounded_speed / <span class="hljs-number">5</span>
  =&gt; <span class="hljs-number">10</span> / <span class="hljs-number">5</span> = <span class="hljs-number">2</span>
  adjusted_distance_filter = multiplier * distanceFilter
  =&gt; <span class="hljs-number">2</span> * <span class="hljs-number">30</span> = <span class="hljs-number">60</span> meters</code></pre><p>At highway speed of <code>27 m/s</code> with a configured <code>distanceFilter: 50</code>:</p>
							</dd>
							<dt class="tsd-comment-tag-example">example</dt>
							<dd><pre><code>  rounded_speed = round(<span class="hljs-number">27</span>, <span class="hljs-number">5</span>)
  =&gt; <span class="hljs-number">30</span>
  multiplier = rounded_speed / <span class="hljs-number">5</span>
  =&gt; <span class="hljs-number">30</span> / <span class="hljs-number">5</span> = <span class="hljs-number">6</span>
  adjusted_distance_filter = multiplier * distanceFilter * elasticityMultipiler
  =&gt; <span class="hljs-number">6</span> * <span class="hljs-number">50</span> = <span class="hljs-number">300</span> meters</code></pre><p>Note the following real example of &quot;elasticity&quot; on highway 101 towards San Francisco as the driver slows down while running into
								slower traffic &mdash; locations become compressed as <a href="_cordova_background_geolocation_lt_.config.html#distancefilter">distanceFilter</a> decreases.</p>
								<p><img src="https://dl.dropboxusercontent.com/s/uu0hs0sediw26ar/distance-filter-highway.png?dl=1" alt="distanceFilter at highway speed"></p>
								<p>Compare now background-geolocation in the scope of a city.  In this image, the left-hand track is from a cab-ride, while the right-hand
								track is walking speed.</p>
								<p><img src="https://dl.dropboxusercontent.com/s/yx8uv2zsimlogsp/distance-filter-city.png?dl=1" alt="distanceFilter at city scale"></p>
							</dd>
						</dl>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
					<a name="elasticitymultiplier" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> elasticity<wbr>Multiplier</h3>
					<div class="tsd-signature tsd-kind-icon">elasticity<wbr>Multiplier<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
					<aside class="tsd-sources">
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>Controls the scale of automatic speed-based <a href="_cordova_background_geolocation_lt_.config.html#distancefilter">distanceFilter</a> elasticity.</p>
						</div>
						<p>Increasing <code>elasticityMultiplier</code> will result in fewer location samples as speed increases.  A value of <code>0</code> has the same effect as
						<a href="_cordova_background_geolocation_lt_.config.html#disableelasticity">disableElasticity</a> <strong><code>true</code></strong>.</p>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
					<a name="enableheadless" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> enable<wbr>Headless</h3>
					<div class="tsd-signature tsd-kind-icon">enable<wbr>Headless<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
					<aside class="tsd-sources">
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p><strong><code>[Android only]</code></strong> Enables &quot;Headless&quot; operation allowing you to respond to events after you app has been terminated with <a href="_cordova_background_geolocation_lt_.config.html#stoponterminate">stopOnTerminate</a> <strong><code>false</code></strong>.</p>
						</div>
						<dl class="tsd-comment-tags">
							<dt class="tsd-comment-tag-break">break</dt>
							<dd><p>Defaults to <strong><code>false</code></strong>.  In this Android terminated state, where only the plugin&#39;s foreground-service remains running, you can respond to all the plugin&#39;s events with your own callback.</p>
								<h3 id="-note-">ℹ️ Note:</h3>
								<ul>
									<li>Requires <a href="_cordova_background_geolocation_lt_.config.html#stoponterminate">stopOnTerminate</a> <strong><code>false</code></strong>.</li>
									<li>If you&#39;ve configured <a href="_cordova_background_geolocation_lt_.config.html#stoponterminate">stopOnTerminate</a> <strong><code>false</code></strong>, <a href="../classes/_cordova_background_geolocation_lt_.backgroundgeolocation.html">BackgroundGeolocation</a> will continue to record locations (and post them to your configured <a href="_cordova_background_geolocation_lt_.config.html#url">url</a>) <em>regardless of</em> <strong><code>enabledHeadless: true</code></strong>.  You should enable this option <em>only if</em> you wish to perform some custom work during the headless state (for example, posting a local notification).</li>
									<li>For more information, see the Wiki <a href="https://github.com/transistorsoft/cordova-background-geolocation-lt/wiki/Android-Headless-Mode">Android Headless Mode</a>.</li>
								</ul>
							</dd>
						</dl>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
					<a name="enabletimestampmeta" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> enable<wbr>Timestamp<wbr>Meta</h3>
					<div class="tsd-signature tsd-kind-icon">enable<wbr>Timestamp<wbr>Meta<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
					<aside class="tsd-sources">
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p><strong><code>[Android-only]</code></strong> Enable extra timestamp meta data to be appended to each recorded location, including system-time.</p>
						</div>
						<dl class="tsd-comment-tags">
							<dt class="tsd-comment-tag-break">break</dt>
							<dd><p>Some developers have reported GPS <a href="_cordova_background_geolocation_lt_.location.html#timestamp">Location.timestamp</a> issues with some Android devices.  This option will append extra meta-data related to the device&#39;s system time.</p>
								<h3 id="java-implementation">Java implementation</h3>
								<pre><code class="language-Java"><span class="hljs-keyword">if</span> (enableTimestampMeta) {
    JSONObject timestampMeta = <span class="hljs-keyword">new</span> JSONObject();
    timestampMeta.put(<span class="hljs-string">"time"</span>, mLocation.getTime());
    <span class="hljs-keyword">if</span> (Build.VERSION.SDK_INT &gt;= Build.VERSION_CODES.JELLY_BEAN_MR1) {
        timestampMeta.put(<span class="hljs-string">"systemClockElaspsedRealtime"</span>, SystemClock.elapsedRealtimeNanos()/<span class="hljs-number">1000000</span>);
        timestampMeta.put(<span class="hljs-string">"elapsedRealtime"</span>, mLocation.getElapsedRealtimeNanos()/<span class="hljs-number">1000000</span>);
    } <span class="hljs-keyword">else</span> {
        timestampMeta.put(<span class="hljs-string">"systemTime"</span>, System.currentTimeMillis());
    }
    data.put(<span class="hljs-string">"timestampMeta"</span>, timestampMeta);
}</code></pre>
							</dd>
						</dl>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
					<a name="extras" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> extras</h3>
					<div class="tsd-signature tsd-kind-icon">extras<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Object</span></div>
					<aside class="tsd-sources">
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>Optional arbitrary key/values <code>{}</code> applied to each recorded location.</p>
						</div>
						<p>📘 See HTTP Guide: <a href="_cordova_background_geolocation_lt_.httpevent.html">HttpEvent</a></p>
						<dl class="tsd-comment-tags">
							<dt class="tsd-comment-tag-example">example</dt>
							<dd><pre><code class="language-javascript">BackgroundGeolocation.ready({
  <span class="hljs-attr">url</span>: <span class="hljs-string">'https://my-server.com/locations'</span>,
  <span class="hljs-attr">extras</span>: {
    <span class="hljs-string">'route_id'</span>: <span class="hljs-number">1234</span>
  },
  <span class="hljs-attr">params</span>: {
    <span class="hljs-string">'device_id'</span>: <span class="hljs-string">'abc123'</span>
  }
});</code></pre>
								<p>Observing incoming requests at your server:</p>
							</dd>
							<dt class="tsd-comment-tag-example">example</dt>
							<dd><pre><code class="language-javascript">- POST /locations
{
  <span class="hljs-string">"device_id"</span>: <span class="hljs-string">"abc123"</span> <span class="hljs-comment">// &lt;-- params appended to root of JSON</span>
  <span class="hljs-string">"location"</span>: {
    <span class="hljs-string">"coords"</span>: {
      <span class="hljs-string">"latitude"</span>: <span class="hljs-number">45.51927004945047</span>,
      <span class="hljs-string">"longitude"</span>: <span class="hljs-number">-73.61650072045029</span>,
      .
      .
      .
    },
    <span class="hljs-string">"extras"</span>: {  <span class="hljs-comment">// &lt;-- extras appended to *each* location</span>
      <span class="hljs-string">"route_id"</span>: <span class="hljs-number">1234</span>
    }
  }
}</code></pre>
							</dd>
						</dl>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
					<a name="fastestlocationupdateinterval" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> fastest<wbr>Location<wbr>Update<wbr>Interval</h3>
					<div class="tsd-signature tsd-kind-icon">fastest<wbr>Location<wbr>Update<wbr>Interval<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
					<aside class="tsd-sources">
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p><strong><code>[Android only]</code></strong> Explicitly set the fastest interval for location updates, in milliseconds.</p>
						</div>
						<dl class="tsd-comment-tags">
							<dt class="tsd-comment-tag-break">break</dt>
							<dd><p>This controls the fastest rate at which your application will receive location updates, which might be faster than <a href="_cordova_background_geolocation_lt_.config.html#locationupdateinterval">locationUpdateInterval</a> in some situations (for example, if other applications are triggering location updates).</p>
								<p>This allows your application to passively acquire locations at a rate faster than it actively acquires locations, saving power.</p>
								<p>Unlike <a href="_cordova_background_geolocation_lt_.config.html#locationupdateinterval">locationUpdateInterval</a>, this parameter is exact. Your application will never receive updates faster than this value.</p>
								<p>If you don&#39;t call this method, a fastest interval will be set to <strong>30000 (30s)</strong>.</p>
								<p>An interval of <code>0</code> is allowed, but <strong>not recommended</strong>, since location updates may be extremely fast on future implementations.</p>
								<p>If <strong><code>fastestLocationUpdateInterval</code></strong> is set slower than <a href="_cordova_background_geolocation_lt_.config.html#locationupdateinterval">locationUpdateInterval</a>, then your effective fastest interval is <a href="_cordova_background_geolocation_lt_.config.html#locationupdateinterval">locationUpdateInterval</a>.</p>
								<h3 id="-see-also-">ℹ️ See also:</h3>
								<ul>
									<li><a href="https://developers.google.com/android/reference/com/google/android/gms/location/LocationRequest.html#setFastestInterval(long)">Android docs</a></li>
								</ul>
							</dd>
						</dl>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
					<a name="forcereloadonboot" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> force<wbr>Reload<wbr>OnBoot</h3>
					<div class="tsd-signature tsd-kind-icon">force<wbr>Reload<wbr>OnBoot<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
					<aside class="tsd-sources">
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>Force launch your terminated App after a device reboot or application update.</p>
						</div>
						<dl class="tsd-comment-tags">
							<dt class="tsd-comment-tag-break">break</dt>
							<dd><p>When the user reboots their device with <a href="../classes/_cordova_background_geolocation_lt_.backgroundgeolocation.html">BackgroundGeolocation</a> configured with <a href="_cordova_background_geolocation_lt_.config.html#startonboot">startOnBoot</a> <strong><code>true</code></strong>, only the plugin&#39;s pure native background-service begins running, <strong>&quot;headless&quot;</strong>, in this case.  The background service will continue tracking the location.  However, the background service <em>can</em> optionally <strong>re-launch</strong> your foreground application.</p>
								<h3 id="-warning-">⚠️ Warning:</h3>
								<ul>
									<li>When the background service re-launches your application, it will <em>briefly</em> appear in the foreground before <em>immediately</em> minimizing.  If the user has their phone on at the time, they will see a brief flash of your app appearing and minimizing.</li>
								</ul>
							</dd>
						</dl>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
					<a name="forcereloadongeofence" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> force<wbr>Reload<wbr>OnGeofence</h3>
					<div class="tsd-signature tsd-kind-icon">force<wbr>Reload<wbr>OnGeofence<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
					<aside class="tsd-sources">
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>Force launch your terminated App after a <a href="../classes/_cordova_background_geolocation_lt_.backgroundgeolocation.html#ongeofence">BackgroundGeolocation.onGeofence</a> event.</p>
						</div>
						<dl class="tsd-comment-tags">
							<dt class="tsd-comment-tag-break">break</dt>
							<dd><p>When the user terminates your Android app with <a href="../classes/_cordova_background_geolocation_lt_.backgroundgeolocation.html">BackgroundGeolocation</a> configured with <a href="_cordova_background_geolocation_lt_.config.html#stoponterminate">stopOnTerminate</a> <strong><code>false</code></strong>, the foreground <code>MainActivity</code> (where your Flutter app lives) <em>will</em> terminate &mdash; only the plugin&#39;s pure native background-service is running, <strong>&quot;headless&quot;</strong>, in this case.  The background service will continue tracking the location.  However, the background service <em>can</em> optionally <strong>re-launch</strong> your foreground application.</p>
								<h3 id="-warning-">⚠️ Warning:</h3>
								<ul>
									<li>When the background service re-launches your application, it will <em>briefly</em> appear in the foreground before <em>immediately</em> minimizing.  If the user has their phone on at the time, they will see a brief flash of your app appearing and minimizing.</li>
								</ul>
							</dd>
						</dl>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
					<a name="forcereloadonheartbeat" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> force<wbr>Reload<wbr>OnHeartbeat</h3>
					<div class="tsd-signature tsd-kind-icon">force<wbr>Reload<wbr>OnHeartbeat<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
					<aside class="tsd-sources">
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>Force launch your terminated App after a <a href="../classes/_cordova_background_geolocation_lt_.backgroundgeolocation.html#onheartbeat">BackgroundGeolocation.onHeartbeat</a> event.</p>
						</div>
						<dl class="tsd-comment-tags">
							<dt class="tsd-comment-tag-break">break</dt>
							<dd><p>When the user terminates your Android app with <a href="../classes/_cordova_background_geolocation_lt_.backgroundgeolocation.html">BackgroundGeolocation</a> configured with <a href="_cordova_background_geolocation_lt_.config.html#stoponterminate">stopOnTerminate</a> <strong><code>false</code></strong>, the foreground <code>MainActivity</code> (where your application code lives) <em>will</em> terminate &mdash; only the plugin&#39;s pure native background-service is running, <strong>&quot;headless&quot;</strong>, in this case.  The background service will continue tracking the location.  However, the background service <em>can</em> optionally <strong>re-launch</strong> your foreground application.</p>
								<h3 id="-warning-">⚠️ Warning:</h3>
								<ul>
									<li>When the background service re-launches your application, it will <em>briefly</em> appear in the foreground before <em>immediately</em> minimizing.  If the user has their phone on at the time, they will see a brief flash of your app appearing and minimizing.</li>
								</ul>
							</dd>
						</dl>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
					<a name="forcereloadonlocationchange" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> force<wbr>Reload<wbr>OnLocation<wbr>Change</h3>
					<div class="tsd-signature tsd-kind-icon">force<wbr>Reload<wbr>OnLocation<wbr>Change<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
					<aside class="tsd-sources">
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>Force launch your terminated App after a <a href="../classes/_cordova_background_geolocation_lt_.backgroundgeolocation.html#onlocation">BackgroundGeolocation.onLocation</a> event.</p>
						</div>
						<dl class="tsd-comment-tags">
							<dt class="tsd-comment-tag-break">break</dt>
							<dd><p>When the user terminates your Android app with <a href="../classes/_cordova_background_geolocation_lt_.backgroundgeolocation.html">BackgroundGeolocation</a> configured with <a href="_cordova_background_geolocation_lt_.config.html#stoponterminate">stopOnTerminate</a> <strong><code>false</code></strong>, the foreground <code>MainActivity</code> (where your Flutter app lives) <em>will</em> terminate &mdash; only the plugin&#39;s pure native background-service is running, <strong>&quot;headless&quot;</strong>, in this case.  The background service will continue tracking the location.  However, the background service <em>can</em> optionally <strong>re-launch</strong> your foreground application.</p>
								<h3 id="-warning-">⚠️ Warning:</h3>
								<ul>
									<li>When the background service re-launches your application, it will <em>briefly</em> appear in the foreground before <em>immediately</em> minimizing.  If the user has their phone on at the time, they will see a brief flash of your app appearing and minimizing.</li>
								</ul>
							</dd>
						</dl>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
					<a name="forcereloadonmotionchange" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> force<wbr>Reload<wbr>OnMotion<wbr>Change</h3>
					<div class="tsd-signature tsd-kind-icon">force<wbr>Reload<wbr>OnMotion<wbr>Change<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
					<aside class="tsd-sources">
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>Force launch your terminated App after a <a href="../classes/_cordova_background_geolocation_lt_.backgroundgeolocation.html#onmotionchange">BackgroundGeolocation.onMotionChange</a> event.</p>
						</div>
						<dl class="tsd-comment-tags">
							<dt class="tsd-comment-tag-break">break</dt>
							<dd><p>When the user terminates your Android app with <a href="../classes/_cordova_background_geolocation_lt_.backgroundgeolocation.html">BackgroundGeolocation</a> configured with <a href="_cordova_background_geolocation_lt_.config.html#stoponterminate">stopOnTerminate</a> <strong><code>false</code></strong>, the foreground <code>MainActivity</code> (where your Flutter app lives) <em>will</em> terminate &mdash; only the plugin&#39;s pure native background-service is running, <strong>&quot;headless&quot;</strong>, in this case.  The background service will continue tracking the location.  However, the background service <em>can</em> optionally <strong>re-launch</strong> your foreground application.</p>
								<h3 id="-warning-">⚠️ Warning:</h3>
								<ul>
									<li>When the background service re-launches your application, it will <em>briefly</em> appear in the foreground before <em>immediately</em> minimizing.  If the user has their phone on at the time, they will see a brief flash of your app appearing and minimizing.</li>
								</ul>
							</dd>
						</dl>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
					<a name="forcereloadonschedule" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> force<wbr>Reload<wbr>OnSchedule</h3>
					<div class="tsd-signature tsd-kind-icon">force<wbr>Reload<wbr>OnSchedule<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
					<aside class="tsd-sources">
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>Force launch your terminated App after a <a href="../classes/_cordova_background_geolocation_lt_.backgroundgeolocation.html#onschedule">BackgroundGeolocation.onSchedule</a> event.</p>
						</div>
						<dl class="tsd-comment-tags">
							<dt class="tsd-comment-tag-break">break</dt>
							<dd><p>When the user terminates your Android app with <a href="../classes/_cordova_background_geolocation_lt_.backgroundgeolocation.html">BackgroundGeolocation</a> configured with <a href="_cordova_background_geolocation_lt_.config.html#stoponterminate">stopOnTerminate</a> <strong><code>false</code></strong>, the foreground <code>MainActivity</code> (where your Flutter app lives) <em>will</em> terminate &mdash; only the plugin&#39;s pure native background-service is running, <strong>&quot;headless&quot;</strong>, in this case.  The background service will continue tracking the location.  However, the background service <em>can</em> optionally <strong>re-launch</strong> your foreground application.</p>
								<h3 id="-warning-">⚠️ Warning:</h3>
								<ul>
									<li>When the background service re-launches your application, it will <em>briefly</em> appear in the foreground before <em>immediately</em> minimizing.  If the user has their phone on at the time, they will see a brief flash of your app appearing and minimizing.</li>
								</ul>
							</dd>
						</dl>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
					<a name="foregroundservice" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> foreground<wbr>Service</h3>
					<div class="tsd-signature tsd-kind-icon">foreground<wbr>Service<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
					<aside class="tsd-sources">
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p><strong><code>[Android only]</code></strong> Configure the plugin service to run as a more robust &quot;Foreground Service&quot;.</p>
						</div>
						<dl class="tsd-comment-tags">
							<dt class="tsd-comment-tag-break">break</dt>
							<dd><h3 id="-android-8-0-">⚠️ Android 8.0+</h3>
								<p>Defaults to <code>true</code> and cannot be set to <code>false</code>.  Due to strict new <a href="https://www.youtube.com/watch?v=Pumf_4yjTMc">Background Execution Limits</a> in Android 8, the plugin <em>enforces</em> <strong><code>foregroundService: true</code></strong>.</p>
								<p>A persistent notification is required by the operating-system with a foreground-service.  It <strong>cannot</strong> be hidden.</p>
								<h3 id="android-8-0">Android &lt; 8.0</h3>
								<p>Defaults to <strong><code>false</code></strong>.  When the Android OS is under memory pressure from other applications (eg: a phone call), the OS can and will free up memory by terminating other processes and scheduling them for re-launch when memory becomes available.  If you find your tracking being <strong>terminated unexpectedly</strong>, <em>this</em> is why.</p>
								<p>If you set this option to <strong><code>true</code></strong>, the plugin will run its Android service in the foreground, <strong>supplying the ongoing notification to be shown to the user while in this state</strong>.  Running as a foreground-service makes the tracking-service <strong>much</strong> more inmmune to OS killing it due to memory/battery pressure.  By default services are background, meaning that if the system needs to kill them to reclaim more memory (such as to display a large page in a web browser).</p>
								<h3 id="-see-also-">ℹ️ See also:</h3>
								<ul>
									<li><a href="_cordova_background_geolocation_lt_.config.html#notificationtitle">notificationTitle</a></li>
									<li><a href="_cordova_background_geolocation_lt_.config.html#notificationtext">notificationText</a></li>
									<li><a href="_cordova_background_geolocation_lt_.config.html#notificationcolor">notificationColor</a></li>
									<li><a href="_cordova_background_geolocation_lt_.config.html#notificationpriority">notificationPriority</a></li>
									<li><a href="_cordova_background_geolocation_lt_.config.html#notificationsmallicon">notificationSmallIcon</a></li>
									<li><a href="_cordova_background_geolocation_lt_.config.html#notificationlargeicon">notificationLargeIcon</a></li>
									<li>📘 For more information, see the <a href="https://developer.android.com/reference/android/app/Service.html#startForeground(int,%20android.app.Notification)">Android Service</a> docs.</li>
								</ul>
							</dd>
						</dl>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
					<a name="geofenceinitialtriggerentry" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> geofence<wbr>Initial<wbr>Trigger<wbr>Entry</h3>
					<div class="tsd-signature tsd-kind-icon">geofence<wbr>Initial<wbr>Trigger<wbr>Entry<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
					<aside class="tsd-sources">
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>When a device is already within a just-created geofence, fire the <strong>enter</strong> transition immediately.</p>
						</div>
						<p>Defaults to <code>true</code>.  Set <code>false</code> to disable triggering a geofence immediately if device is already inside it.</p>
						<dl class="tsd-comment-tags">
							<dt class="tsd-comment-tag-break">break</dt>
							<dd><h3 id="-see-also-">ℹ️ See also:</h3>
								<ul>
									<li>📘 <a href="_cordova_background_geolocation_lt_.geofence.html">Geofence</a> Guide.</li>
								</ul>
							</dd>
						</dl>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
					<a name="geofenceproximityradius" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> geofence<wbr>Proximity<wbr>Radius</h3>
					<div class="tsd-signature tsd-kind-icon">geofence<wbr>Proximity<wbr>Radius<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
					<aside class="tsd-sources">
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>The radius around current location to query for geofences to activate monitoring upon.</p>
						</div>
						<p>The default and <em>minimum</em> is <code>1000</code> meters.  See related event <a href="../classes/_cordova_background_geolocation_lt_.backgroundgeolocation.html#ongeofenceschange">BackgroundGeolocation.onGeofencesChange</a>.  When using Geofences, the
							plugin activates only thoses in proximity (the maximim geofences allowed to be simultaneously monitored is limited by the platform,
							where <strong>iOS</strong> allows only 20 and <strong>Android</strong>.  However, the plugin allows you to create as many geofences as you wish (thousands even).
						It stores these in its database and uses spatial queries to determine which <strong>20</strong> or <strong>100</strong> geofences to activate.</p>
						<dl class="tsd-comment-tags">
							<dt class="tsd-comment-tag-break">break</dt>
							<dd><h3 id="-see-also-">ℹ️ See also:</h3>
								<ul>
									<li>📘 <a href="_cordova_background_geolocation_lt_.geofence.html">Geofence</a> Guide.</li>
									<li><a href="https://www.transistorsoft.com/shop/products/assets/images/background-geolocation-infinite-geofencing.gif">View animation of this behaviour</a></li>
								</ul>
								<p><img src="https://dl.dropboxusercontent.com/s/7sggka4vcbrokwt/geofenceProximityRadius_iphone6_spacegrey_portrait.png?dl=1" alt=""></p>
							</dd>
						</dl>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
					<a name="geofencetemplate" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> geofence<wbr>Template</h3>
					<div class="tsd-signature tsd-kind-icon">geofence<wbr>Template<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
					<aside class="tsd-sources">
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>Optional custom template for rendering <a href="_cordova_background_geolocation_lt_.geofenceevent.html">GeofenceEvent</a> JSON request data in HTTP requests.</p>
						</div>
						<dl class="tsd-comment-tags">
							<dt class="tsd-comment-tag-break">break</dt>
							<dd><p>The <code>geofenceTemplate</code> is similar to <a href="_cordova_background_geolocation_lt_.config.html#locationtemplate">locationTemplate</a> with the addition of two extra <code>geofence.*</code> tags.</p>
								<p>The <code>geofenceTemplate</code> will be evaulated for variables using Ruby <code>erb</code>-style tags:</p>
								<pre><code class="language-bash">&lt;%= variable_name %&gt;</code></pre>
								<h3 id="-see-also-">ℹ️ See also:</h3>
								<ul>
									<li><a href="_cordova_background_geolocation_lt_.config.html#locationtemplate">locationTemplate</a></li>
									<li><a href="_cordova_background_geolocation_lt_.config.html#httprootproperty">httpRootProperty</a></li>
									<li>📘 HTTP Guide: <a href="_cordova_background_geolocation_lt_.httpevent.html">HttpEvent</a>.</li>
								</ul>
							</dd>
							<dt class="tsd-comment-tag-example">example</dt>
							<dd><pre><code class="language-javascript">BackgroundGeolocation.ready({
  <span class="hljs-attr">geofenceTemplate</span>: <span class="hljs-string">'{ "lat":&lt;%= latitude %&gt;, "lng":&lt;%= longitude %&gt;, "geofence":"&lt;%= geofence.identifier %&gt;:&lt;%= geofence.action %&gt;" }'</span>
});

<span class="hljs-comment">// Or use a compact [Array] template!</span>
BackgroundGeolocation.{(
  geofenceTemplate: <span class="hljs-string">'[&lt;%= latitude %&gt;, &lt;%= longitude %&gt;, "&lt;%= geofence.identifier %&gt;", "&lt;%= geofence.action %&gt;"]'</span>
)</code></pre>
								<h3 id="-quoting-string-data-">⚠️  quoting <code>String</code> data.</h3>
								<p>The plugin does not automatically apply double-quotes around <code>String</code> data.  The plugin will attempt to JSON encode your template exactly
								as you&#39;re configured.</p>
								<p>The following will generate an error:</p>
							</dd>
							<dt class="tsd-comment-tag-example">example</dt>
							<dd><pre><code class="language-javascript">BackgroundGeolocation.ready({
  <span class="hljs-attr">locationTemplate</span>: <span class="hljs-string">'{"timestamp": &lt;%= timestamp %&gt;}'</span>
});</code></pre>
								<p>Since the template-tag <code>timestamp</code> renders a string, the rendered String will look like this, generating a JSON error:</p>
							</dd>
							<dt class="tsd-comment-tag-example">example</dt>
							<dd><pre><code class="language-json">{<span class="hljs-attr">"timestamp"</span>: <span class="hljs-number">2018</span><span class="hljs-number">-01</span><span class="hljs-number">-01</span>T12:<span class="hljs-number">01</span>:<span class="hljs-number">01.123</span>Z}</code></pre>
								<p>The correct <code>geofenceTemplate</code> is:</p>
							</dd>
							<dt class="tsd-comment-tag-example">example</dt>
							<dd><pre><code class="language-javascript">BackgroundGeolocation.ready({
  <span class="hljs-attr">geofenceTemplate</span>: <span class="hljs-string">'{"timestamp": "&lt;%= timestamp %&gt;"}'</span>
});</code></pre>
							</dd>
							<dt class="tsd-comment-tag-example">example</dt>
							<dd><pre><code class="language-json">{<span class="hljs-attr">"timestamp"</span>: <span class="hljs-string">"2018-01-01T12:01:01.123Z"</span>}</code></pre>
								<h3 id="template-tags">Template Tags</h3>
								<p>The tag-list is identical to <a href="_cordova_background_geolocation_lt_.config.html#locationtemplate">locationTemplate</a> with the addition of <code>geofence.identifier</code> and <code>geofence.action</code>.</p>
								<table>
									<thead>
										<tr>
											<th>Tag</th>
											<th>Type</th>
											<th>Description</th>
										</tr>
									</thead>
									<tbody><tr>
											<td><strong><code>geofence.identifier</code></strong></td>
											<td><code>String</code></td>
											<td>Which geofence?</td>
										</tr>
										<tr>
											<td><strong><code>geofence.action</code></strong></td>
											<td><code>String</code></td>
											<td><code>ENTER/EXIT</code></td>
										</tr>
										<tr>
											<td><code>latitude</code></td>
											<td><code>Float</code></td>
											<td></td>
										</tr>
										<tr>
											<td><code>longitude</code></td>
											<td><code>Float</code></td>
											<td></td>
										</tr>
										<tr>
											<td><code>speed</code></td>
											<td><code>Float</code></td>
											<td>Meters</td>
										</tr>
										<tr>
											<td><code>heading</code></td>
											<td><code>Float</code></td>
											<td>Degress</td>
										</tr>
										<tr>
											<td><code>accuracy</code></td>
											<td><code>Float</code></td>
											<td>Meters</td>
										</tr>
										<tr>
											<td><code>altitude</code></td>
											<td><code>Float</code></td>
											<td>Meters</td>
										</tr>
										<tr>
											<td><code>altitude_accuracy</code></td>
											<td><code>Float</code></td>
											<td>Meters</td>
										</tr>
										<tr>
											<td><code>timestamp</code></td>
											<td><code>String</code></td>
											<td>ISO-8601</td>
										</tr>
										<tr>
											<td><code>uuid</code></td>
											<td><code>String</code></td>
											<td>Unique ID</td>
										</tr>
										<tr>
											<td><code>event</code></td>
											<td><code>String</code></td>
											<td><code>motionchange,geofence,heartbeat,providerchange</code></td>
										</tr>
										<tr>
											<td><code>odometer</code></td>
											<td><code>Float</code></td>
											<td>Meters</td>
										</tr>
										<tr>
											<td><code>activity.type</code></td>
											<td><code>String</code></td>
											<td><code>still,on_foot,running,on_bicycle,in_vehicle,unknown</code></td>
										</tr>
										<tr>
											<td><code>activity.confidence</code></td>
											<td><code>Integer</code></td>
											<td>0-100%</td>
										</tr>
										<tr>
											<td><code>battery.level</code></td>
											<td><code>Float</code></td>
											<td>0-100%</td>
										</tr>
										<tr>
											<td><code>battery.is_charging</code></td>
											<td><code>Boolean</code></td>
											<td>Is device plugged in?</td>
										</tr>
								</tbody></table>
							</dd>
						</dl>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
					<a name="headers" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> headers</h3>
					<div class="tsd-signature tsd-kind-icon">headers<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Object</span></div>
					<aside class="tsd-sources">
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>Optional HTTP headers applied to each HTTP request.</p>
						</div>
						<dl class="tsd-comment-tags">
							<dt class="tsd-comment-tag-example">example</dt>
							<dd><pre><code class="language-javascript">BackgroundGeolocation.ready({
  <span class="hljs-attr">url</span>: <span class="hljs-string">'https://my.server.com'</span>,
  <span class="hljs-attr">headers</span>: {
    <span class="hljs-string">'authorization'</span>: <span class="hljs-string">"Bearer &lt;a secret key&gt;"</span>,
    <span class="hljs-string">'X-FOO": "BAR'</span>
  }
});</code></pre>
								<p>Observing incoming requests at your server:</p>
								<pre><code><span class="hljs-symbol">POST</span> /locations
{
  <span class="hljs-string">"host"</span>: <span class="hljs-string">"tracker.transistorsoft.com"</span>,
  <span class="hljs-string">"content-type"</span>: <span class="hljs-string">"application/json"</span>,
  <span class="hljs-string">"content-length"</span>: <span class="hljs-string">"456"</span>
  .
  .
  .
  <span class="hljs-string">"authorization"</span>: <span class="hljs-string">"Bearer &lt;a secret key&gt;"</span>,
  <span class="hljs-string">"X-FOO"</span>: <span class="hljs-string">"BAR"</span>
}</code></pre><h3 id="-note-">ℹ️ Note:</h3>
								<ul>
									<li>The plugin automatically applies a number of required headers, including <code>&quot;content-type&quot;: &quot;application/json&quot;</code></li>
								</ul>
							</dd>
						</dl>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
					<a name="heartbeatinterval" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> heartbeat<wbr>Interval</h3>
					<div class="tsd-signature tsd-kind-icon">heartbeat<wbr>Interval<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
					<aside class="tsd-sources">
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>Controls the rate (in seconds) the <a href="../classes/_cordova_background_geolocation_lt_.backgroundgeolocation.html#onheartbeat">BackgroundGeolocation.onHeartbeat</a> event will fire.</p>
						</div>
						<dl class="tsd-comment-tags">
							<dt class="tsd-comment-tag-break">break</dt>
							<dd><h3 id="-warning-">⚠️ Warning:</h3>
								<ul>
									<li>On <strong>iOS</strong> the <strong><a href="../classes/_cordova_background_geolocation_lt_.backgroundgeolocation.html#onheartbeat">BackgroundGeolocation.onHeartbeat</a></strong> event will fire only when configured with <a href="_cordova_background_geolocation_lt_.config.html#preventsuspend">preventSuspend</a> <strong><code>true</code></strong>.</li>
									<li>Android <em>minimum</em> interval is <code>60</code> seconds.  It is <strong>impossible</strong> to have a <a href="_cordova_background_geolocation_lt_.config.html#heartbeatinterval">heartbeatInterval</a> faster than this on Android.</li>
								</ul>
							</dd>
							<dt class="tsd-comment-tag-example">example</dt>
							<dd><pre><code class="language-javascript">BackgroundGeolocation.ready({
  <span class="hljs-attr">heartbeatInterval</span>: <span class="hljs-number">60</span>
});

BackgroundGeolocation.onHeartbeat(<span class="hljs-function">(<span class="hljs-params">event</span>) =&gt;</span> {
  <span class="hljs-built_in">console</span>.log(<span class="hljs-string">'[onHeartbeat] '</span>, event);

  <span class="hljs-comment">// You could request a new location if you wish.</span>
  BackgroundGeolocation.getCurrentPosition({
    <span class="hljs-attr">samples</span>: <span class="hljs-number">1</span>,
    <span class="hljs-attr">persist</span>: <span class="hljs-literal">true</span>
  }).then(<span class="hljs-function">(<span class="hljs-params">location</span>) =&gt;</span> {
    <span class="hljs-built_in">console</span>.log(<span class="hljs-string">'[getCurrentPosition] '</span>, location);
  });
});</code></pre>
								<h3 id="-see-also-">ℹ️ See also:</h3>
								<ul>
									<li><a href="../classes/_cordova_background_geolocation_lt_.backgroundgeolocation.html#onheartbeat">BackgroundGeolocation.onHeartbeat</a></li>
								</ul>
							</dd>
						</dl>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
					<a name="httprootproperty" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> http<wbr>Root<wbr>Property</h3>
					<div class="tsd-signature tsd-kind-icon">http<wbr>Root<wbr>Property<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
					<aside class="tsd-sources">
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>The root property of the JSON schema where location-data will be attached.</p>
						</div>
						<dl class="tsd-comment-tags">
							<dt class="tsd-comment-tag-example">example</dt>
							<dd><pre><code class="language-javascript">BackgroundGeolocation.ready({
  <span class="hljs-attr">httpRootProperty</span>: <span class="hljs-string">"myData"</span>,
  <span class="hljs-attr">url</span>: <span class="hljs-string">"https://my.server.com"</span>
});
</code></pre>
								<pre><code class="language-json">{
    <span class="hljs-attr">"myData"</span>:{
        <span class="hljs-attr">"coords"</span>: {
            <span class="hljs-attr">"latitude"</span>:<span class="hljs-number">23.232323</span>,
            <span class="hljs-attr">"longitude"</span>:<span class="hljs-number">37.373737</span>
        }
    }
}</code></pre>
								<p>You may also specify the character <strong><code>httpRootProperty:&quot;.&quot;</code></strong> to place your data in the <em>root</em> of the JSON:</p>
							</dd>
							<dt class="tsd-comment-tag-example">example</dt>
							<dd><pre><code class="language-json">{
    <span class="hljs-attr">"coords"</span>: {
        <span class="hljs-attr">"latitude"</span>:<span class="hljs-number">23.232323</span>,
        <span class="hljs-attr">"longitude"</span>:<span class="hljs-number">37.373737</span>
    }
}</code></pre>
								<h3 id="-see-also-">ℹ️ See also:</h3>
								<ul>
									<li><a href="_cordova_background_geolocation_lt_.config.html#locationtemplate">locationTemplate</a></li>
									<li><a href="_cordova_background_geolocation_lt_.config.html#geofencetemplate">geofenceTemplate</a></li>
									<li>📘 HTTP Guide: <a href="_cordova_background_geolocation_lt_.httpevent.html">HttpEvent</a>.</li>
								</ul>
							</dd>
						</dl>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
					<a name="httptimeout" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> http<wbr>Timeout</h3>
					<div class="tsd-signature tsd-kind-icon">http<wbr>Timeout<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
					<aside class="tsd-sources">
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>HTTP request timeout in <strong>milliseconds</strong>.</p>
						</div>
						<p>HTTP request timeouts will fire the <a href="../classes/_cordova_background_geolocation_lt_.backgroundgeolocation.html#onhttp">BackgroundGeolocation.onHttp</a>.  Defaults to <code>60000 ms</code>.</p>
						<dl class="tsd-comment-tags">
							<dt class="tsd-comment-tag-example">example</dt>
							<dd><pre><code class="language-javascript">BackgroundGeolocation.onHttp(<span class="hljs-function">(<span class="hljs-params">response</span>) =&gt;</span> {
  <span class="hljs-keyword">let</span> success = response.success;
  <span class="hljs-keyword">if</span> (!success) {
    <span class="hljs-built_in">console</span>.log(<span class="hljs-string">'[onHttp] FAILURE: '</span>, response);
  }
});

BackgroundGeolocation.ready({
  <span class="hljs-attr">url</span>: <span class="hljs-string">'https://my-server.com/locations'</span>,
  <span class="hljs-attr">httpTimeout</span>: <span class="hljs-number">3000</span>
);</code></pre>
								<h3 id="-see-also-">ℹ️ See also:</h3>
								<ul>
									<li>📘 See HTTP Guide: <a href="_cordova_background_geolocation_lt_.httpevent.html">HttpEvent</a></li>
								</ul>
							</dd>
						</dl>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
					<a name="ismoving" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> is<wbr>Moving</h3>
					<div class="tsd-signature tsd-kind-icon">is<wbr>Moving<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
					<aside class="tsd-sources">
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>Configure the initial tracking-state after <a href="../classes/_cordova_background_geolocation_lt_.backgroundgeolocation.html#start">BackgroundGeolocation.start</a> is called.</p>
						</div>
						<p>The plugin will immediately enter the tracking-state, by-passing the <em>stationary</em> state.  If the device is not currently moving, the stop-detection
						system <em>will</em> still engage.  After <a href="_cordova_background_geolocation_lt_.config.html#stoptimeout">stopTimeout</a> minutes without movement, the plugin will enter the <em>stationary</em> state, as usual.</p>
						<dl class="tsd-comment-tags">
							<dt class="tsd-comment-tag-example">example</dt>
							<dd><pre><code class="language-typescript"><span class="hljs-keyword">let</span> state = <span class="hljs-keyword">await</span> BackgroundGeolocation.ready({
  isMoving: <span class="hljs-literal">true</span>
});

<span class="hljs-keyword">if</span> (!state.enabled) {
  BackgroundGeolocation.start();
}
<span class="hljs-comment">// Location-services are now on and the plugin is recording a location</span>
<span class="hljs-comment">// each &lt;a href="_cordova_background_geolocation_lt_.config.html#distancefilter"&gt;distanceFilter&lt;/a&gt; meters.</span></code></pre>
							</dd>
						</dl>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
					<a name="locationauthorizationalert" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> location<wbr>Authorization<wbr>Alert</h3>
					<div class="tsd-signature tsd-kind-icon">location<wbr>Authorization<wbr>Alert<span class="tsd-signature-symbol">:</span> <a href="_cordova_background_geolocation_lt_.locationauthorizationalert.html" class="tsd-signature-type">LocationAuthorizationAlert</a></div>
					<aside class="tsd-sources">
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p><strong><code>[iOS only]</code></strong> Controls the text-elements of the plugin&#39;s location-authorization dialog.</p>
						</div>
						<dl class="tsd-comment-tags">
							<dt class="tsd-comment-tag-break">break</dt>
							<dd><p>When you configure the plugin <a href="_cordova_background_geolocation_lt_.config.html#locationauthorizationrequest">locationAuthorizationRequest</a> <strong><code>Always</code></strong> or <strong><code>WhenInUse</code></strong> and the user <em>changes</em> the mode in the app&#39;s location-services settings or disabled location-services, the plugin will display an Alert dialog directing the user to the <strong>Settings</strong> screen.  <strong><code>locationAuthorizationAlert</code></strong> allows you to configure all the Strings for that Alert popup and accepts an <code>{}</code> containing the following keys:</p>
								<p><img src="https://dl.dropboxusercontent.com/s/wyoaf16buwsw7ed/docs-locationAuthorizationAlert.jpg?dl=1" alt=""></p>
							</dd>
							<dt class="tsd-comment-tag-example">example</dt>
							<dd><pre><code class="language-javascript">BackgroundGeolocation.ready({
  <span class="hljs-attr">locationAuthorizationAlert</span>: {
    <span class="hljs-attr">titleWhenNotEnabled</span>: <span class="hljs-string">'Yo, location-services not enabled'</span>,
    <span class="hljs-attr">titleWhenOff</span>: <span class="hljs-string">'Yo, location-services OFF'</span>,
    <span class="hljs-attr">instructions</span>: <span class="hljs-string">'You must enable "Always" in location-services, buddy'</span>,
    <span class="hljs-attr">cancelButton</span>: <span class="hljs-string">'Cancel'</span>,
    <span class="hljs-attr">settingsButton</span>: <span class="hljs-string">'Settings'</span>
  }
})</code></pre>
								<h3 id="-warning-">⚠️ Warning:</h3>
								<ul>
									<li>If you choose to configure <code>locationAuthorizationAlert</code>, you must provide <strong>ALL</strong> the keys of <a href="_cordova_background_geolocation_lt_.locationauthorizationalert.html">LocationAuthorizationAlert</a> keys &mdash; not just <em>some</em>.</li>
								</ul>
							</dd>
						</dl>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
					<a name="locationauthorizationrequest" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> location<wbr>Authorization<wbr>Request</h3>
					<div class="tsd-signature tsd-kind-icon">location<wbr>Authorization<wbr>Request<span class="tsd-signature-symbol">:</span> <a href="../modules/_cordova_background_geolocation_lt_.html#locationauthorizationrequest" class="tsd-signature-type">LocationAuthorizationRequest</a></div>
					<aside class="tsd-sources">
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p><strong><code>[iOS only]</code></strong> Defines the <em>desired</em> iOS location-authorization request you <em>wish</em> for the user to authorize.</p>
						</div>
						<dl class="tsd-comment-tags">
							<dt class="tsd-comment-tag-break">break</dt>
							<dd><p><strong><code>locationAuthorizationRequest</code></strong> tells the plugin the mode it <em>expects</em> to have been authorized with <em>by the user</em>.  If the user changes this mode in their settings, the plugin will detect this (See <a href="_cordova_background_geolocation_lt_.config.html#locationauthorizationalert">locationAuthorizationAlert</a>).  Defaults to <strong><code>Always</code></strong>.  <strong><code>WhenInUse</code></strong> will display a <strong>blue bar</strong> at top-of-screen informing user that location-services are on.</p>
								<p><img src="https://dl.dropboxusercontent.com/s/88y3i4nkqq3o9ee/ios-location-authorization-dialog.png?dl=1" alt=""></p>
								<p>If you configure <strong><code>Any</code></strong>, the plugin allow the user to choose either <code>Always</code> or <code>WhenInUse</code>.   The plugin will <strong>not</strong> show the <a href="_cordova_background_geolocation_lt_.config.html#locationauthorizationalert">locationAuthorizationAlert</a> dialog when the user changes the selection in <code>Privacy-&gt;Location Services</code>.</p>
								<h3 id="-warning-">⚠️ Warning:</h3>
								<ul>
									<li>Configuring <strong><code>WhenInUse</code></strong> will disable many of the plugin&#39;s features, since iOS forbids any API which operates in the background to operate (such as <strong>geofences</strong>, which the plugin relies upon to automatically engage background tracking).</li>
								</ul>
							</dd>
						</dl>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
					<a name="locationtemplate" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> location<wbr>Template</h3>
					<div class="tsd-signature tsd-kind-icon">location<wbr>Template<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
					<aside class="tsd-sources">
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>Optional custom template for rendering <a href="_cordova_background_geolocation_lt_.location.html">Location</a> JSON request data in HTTP requests.</p>
						</div>
						<dl class="tsd-comment-tags">
							<dt class="tsd-comment-tag-break">break</dt>
							<dd><p>The <a href="_cordova_background_geolocation_lt_.config.html#locationtemplate">locationTemplate</a> will be evaulated for variables using Ruby <code>erb</code>-style tags:</p>
								<pre><code class="language-bash">&lt;%= variable_name %&gt;</code></pre>
							</dd>
							<dt class="tsd-comment-tag-example">example</dt>
							<dd><pre><code class="language-javascript">BackgroundGeolocation.ready({
  <span class="hljs-attr">locationTemplate</span>: <span class="hljs-string">'{"lat":&lt;%= latitude %&gt;,"lng":&lt;%= longitude %&gt;,"event":"&lt;%= event %&gt;",isMoving:&lt;%= isMoving %&gt;}'</span>
});

<span class="hljs-comment">// Or use a compact [Array] template!</span>
BackgroundGeolocation.ready({
  <span class="hljs-attr">locationTemplate</span>: <span class="hljs-string">'[&lt;%=latitude%&gt;, &lt;%=longitude%&gt;, "&lt;%=event%&gt;", &lt;%=is_moving%&gt;]'</span>
))</code></pre>
								<h3 id="-quoting-string-data-">⚠️  quoting <code>String</code> data.</h3>
								<p>The plugin does not automatically apply double-quotes around <code>String</code> data.  The plugin will attempt to JSON encode your template exactly
								as you&#39;re configured.</p>
								<p>The following will generate an error:</p>
							</dd>
							<dt class="tsd-comment-tag-example">example</dt>
							<dd><pre><code class="language-javascript">BackgroundGeolocation.ready({
  <span class="hljs-attr">locationTemplate</span>: <span class="hljs-string">'{"timestamp": &lt;%= timestamp %&gt;}'</span>
});</code></pre>
								<p>Since the template-tag <code>timestamp</code> renders a string, the rendered String will look like this, generating a JSON error:</p>
							</dd>
							<dt class="tsd-comment-tag-example">example</dt>
							<dd><pre><code class="language-json">{<span class="hljs-attr">"timestamp"</span>: <span class="hljs-number">2018</span><span class="hljs-number">-01</span><span class="hljs-number">-01</span>T12:<span class="hljs-number">01</span>:<span class="hljs-number">01.123</span>Z}</code></pre>
								<p>The correct <code>locationTemplate</code> is:</p>
							</dd>
							<dt class="tsd-comment-tag-example">example</dt>
							<dd><pre><code class="language-javascript">BackgroundGeolocation.ready({
  <span class="hljs-attr">locationTemplate</span>: <span class="hljs-string">'{"timestamp": "&lt;%= timestamp %&gt;"}'</span>
});</code></pre>
							</dd>
							<dt class="tsd-comment-tag-example">example</dt>
							<dd><pre><code class="language-json">{<span class="hljs-attr">"timestamp"</span>: <span class="hljs-string">"2018-01-01T12:01:01.123Z"</span>}</code></pre>
								<h3 id="configured-a-href-_cordova_background_geolocation_lt_-config-html-extras-extras-a-">Configured <a href="_cordova_background_geolocation_lt_.config.html#extras">extras</a>:</h3>
								<p>If you&#39;ve configured <a href="_cordova_background_geolocation_lt_.config.html#extras">extras</a>, these key-value pairs will be merged <em>directly</em> onto your location data.  For example:</p>
							</dd>
							<dt class="tsd-comment-tag-example">example</dt>
							<dd><pre><code class="language-javascript">BackgroundGeolocation.ready({
  <span class="hljs-attr">httpRootProperty</span>: <span class="hljs-string">'data'</span>,
  <span class="hljs-attr">locationTemplate</span>: <span class="hljs-string">'{"lat":&lt;%= latitude %&gt;,"lng":&lt;%= longitude %&gt;}'</span>,
  <span class="hljs-attr">extras</span>: {
    <span class="hljs-string">"foo"</span>: <span class="hljs-string">"bar"</span>
  }
)</code></pre>
								<p>Will result in JSON:</p>
							</dd>
							<dt class="tsd-comment-tag-example">example</dt>
							<dd><pre><code class="language-json">{
    <span class="hljs-attr">"data"</span>: {
        <span class="hljs-attr">"lat"</span>:<span class="hljs-number">23.23232323</span>,
        <span class="hljs-attr">"lng"</span>:<span class="hljs-number">37.37373737</span>,
        <span class="hljs-attr">"foo"</span>:<span class="hljs-string">"bar"</span>
    }
}</code></pre>
								<h3 id="template-tags">Template Tags</h3>
								<table>
									<thead>
										<tr>
											<th>Tag</th>
											<th>Type</th>
											<th>Description</th>
										</tr>
									</thead>
									<tbody><tr>
											<td><code>latitude</code></td>
											<td><code>Float</code></td>
											<td></td>
										</tr>
										<tr>
											<td><code>longitude</code></td>
											<td><code>Float</code></td>
											<td></td>
										</tr>
										<tr>
											<td><code>speed</code></td>
											<td><code>Float</code></td>
											<td>Meters</td>
										</tr>
										<tr>
											<td><code>heading</code></td>
											<td><code>Float</code></td>
											<td>Degress</td>
										</tr>
										<tr>
											<td><code>accuracy</code></td>
											<td><code>Float</code></td>
											<td>Meters</td>
										</tr>
										<tr>
											<td><code>altitude</code></td>
											<td><code>Float</code></td>
											<td>Meters</td>
										</tr>
										<tr>
											<td><code>altitude_accuracy</code></td>
											<td><code>Float</code></td>
											<td>Meters</td>
										</tr>
										<tr>
											<td><code>timestamp</code></td>
											<td><code>String</code></td>
											<td>ISO-8601</td>
										</tr>
										<tr>
											<td><code>uuid</code></td>
											<td><code>String</code></td>
											<td>Unique ID</td>
										</tr>
										<tr>
											<td><code>event</code></td>
											<td><code>String</code></td>
											<td><code>motionchange,geofence,heartbeat,providerchange</code></td>
										</tr>
										<tr>
											<td><code>odometer</code></td>
											<td><code>Float</code></td>
											<td>Meters</td>
										</tr>
										<tr>
											<td><code>activity.type</code></td>
											<td><code>String</code></td>
											<td><code>still,on_foot,running,on_bicycle,in_vehicle,unknown</code></td>
										</tr>
										<tr>
											<td><code>activity.confidence</code></td>
											<td><code>Integer</code></td>
											<td>0-100%</td>
										</tr>
										<tr>
											<td><code>battery.level</code></td>
											<td><code>Float</code></td>
											<td>0-100%</td>
										</tr>
										<tr>
											<td><code>battery.is_charging</code></td>
											<td><code>Boolean</code></td>
											<td>Is device plugged in?</td>
										</tr>
								</tbody></table>
								<h3 id="-see-also-">ℹ️ See also:</h3>
								<ul>
									<li>📘 HTTP Guide: <a href="_cordova_background_geolocation_lt_.httpevent.html">HttpEvent</a>.</li>
									<li><a href="_cordova_background_geolocation_lt_.config.html#geofencetemplate">geofenceTemplate</a></li>
									<li><a href="_cordova_background_geolocation_lt_.config.html#httprootproperty">httpRootProperty</a></li>
								</ul>
							</dd>
						</dl>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
					<a name="locationtimeout" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> location<wbr>Timeout</h3>
					<div class="tsd-signature tsd-kind-icon">location<wbr>Timeout<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
					<aside class="tsd-sources">
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>Disable automatic, speed-based <a href="_cordova_background_geolocation_lt_.config.html#distancefilter">distanceFilter</a> scaling.</p>
						</div>
						<p>Defaults to <strong><code>false</code></strong>.  Set <strong><code>true</code></strong> to disable automatic, speed-based <a href="_cordova_background_geolocation_lt_.config.html#distancefilter">distanceFilter</a> elasticity.</p>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
					<a name="locationupdateinterval" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> location<wbr>Update<wbr>Interval</h3>
					<div class="tsd-signature tsd-kind-icon">location<wbr>Update<wbr>Interval<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
					<aside class="tsd-sources">
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p><strong><code>[Android only]</code></strong> Set the desired interval for active location updates, in milliseconds.</p>
						</div>
						<dl class="tsd-comment-tags">
							<dt class="tsd-comment-tag-break">break</dt>
							<dd><h3 id="-note-">⚠️ Note:</h3>
								<ul>
									<li>To use <strong><code>locationUpdateInterval</code></strong> you <strong>must</strong> also configure <a href="_cordova_background_geolocation_lt_.config.html#distancefilter">distanceFilter</a> <strong><code>0</code></strong>, since <a href="_cordova_background_geolocation_lt_.config.html#distancefilter">distanceFilter</a> <em>overrides</em> <strong><code>locationUpdateInterval</code></strong>.</li>
								</ul>
								<p>Set the desired interval for active location updates, in milliseconds.</p>
								<p>The location client will actively try to obtain location updates for your application at this interval, so it has a direct influence on the amount of power used by your application. Choose your interval wisely.</p>
								<p>This interval is inexact. You may not receive updates at all (if no location sources are available), or you may receive them slower than requested. You may also receive them faster than requested (if other applications are requesting location at a faster interval).</p>
								<p>Applications with only the coarse location permission may have their interval silently throttled.\</p>
							</dd>
							<dt class="tsd-comment-tag-example">example</dt>
							<dd><pre><code class="language-javascript">BackgroundGeolocation.ready({
  <span class="hljs-attr">distanceFilter</span>: <span class="hljs-number">0</span>,            <span class="hljs-comment">// Must be 0 or locationUpdateInterval is ignored!</span>
  locationUpdateInterval: <span class="hljs-number">5000</span>  <span class="hljs-comment">// Get a location every 5 seconds</span>
});</code></pre>
								<h3 id="-see-also-">ℹ️ See also:</h3>
								<ul>
									<li>For more information, see the <a href="https://developers.google.com/android/reference/com/google/android/gms/location/LocationRequest.html#setInterval(long)">Android docs</a></li>
								</ul>
							</dd>
						</dl>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
					<a name="locationsorderdirection" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> locations<wbr>Order<wbr>Direction</h3>
					<div class="tsd-signature tsd-kind-icon">locations<wbr>Order<wbr>Direction<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
					<aside class="tsd-sources">
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>Controls the order that locations are selected from the database (and uploaded to your server).</p>
						</div>
						<p>Defaults to ascending (<code>ASC</code>), where oldest locations are synced first.  Descending (<code>DESC</code>) uploads latest locations first.</p>
						<h3 id="-see-also-">ℹ️ See also:</h3>
						<ul>
							<li>📘 See HTTP Guide: <a href="_cordova_background_geolocation_lt_.httpevent.html">HttpEvent</a></li>
						</ul>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
					<a name="loglevel" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> log<wbr>Level</h3>
					<div class="tsd-signature tsd-kind-icon">log<wbr>Level<span class="tsd-signature-symbol">:</span> <a href="../modules/_cordova_background_geolocation_lt_.html#loglevel" class="tsd-signature-type">LogLevel</a></div>
					<aside class="tsd-sources">
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>Controls the volume of recorded events in the plugin&#39;s logging database.</p>
						</div>
						<p><a href="../classes/_cordova_background_geolocation_lt_.backgroundgeolocation.html">BackgroundGeolocation</a> contains powerful logging features.  By default, the plugin boots with a value of <a href="../classes/_cordova_background_geolocation_lt_.backgroundgeolocation.html#log_level_off">BackgroundGeolocation.LOG_LEVEL_OFF</a>,
						storing <a href="_cordova_background_geolocation_lt_.config.html#logmaxdays">logMaxDays</a> (default <code>3</code>) days worth of logs in its SQLite database.</p>
						<p>The following log-levels are defined as <strong>constants</strong> on this <a href="../classes/_cordova_background_geolocation_lt_.backgroundgeolocation.html">BackgroundGeolocation</a> class:</p>
						<table>
							<thead>
								<tr>
									<th>Label</th>
								</tr>
							</thead>
							<tbody><tr>
									<td><a href="../classes/_cordova_background_geolocation_lt_.backgroundgeolocation.html#log_level_off">BackgroundGeolocation.LOG_LEVEL_OFF</a></td>
								</tr>
								<tr>
									<td><a href="../classes/_cordova_background_geolocation_lt_.backgroundgeolocation.html#log_level_error">BackgroundGeolocation.LOG_LEVEL_ERROR</a></td>
								</tr>
								<tr>
									<td><a href="../classes/_cordova_background_geolocation_lt_.backgroundgeolocation.html#log_level_warning">BackgroundGeolocation.LOG_LEVEL_WARNING</a></td>
								</tr>
								<tr>
									<td><a href="../classes/_cordova_background_geolocation_lt_.backgroundgeolocation.html#log_level_info">BackgroundGeolocation.LOG_LEVEL_INFO</a></td>
								</tr>
								<tr>
									<td><a href="../classes/_cordova_background_geolocation_lt_.backgroundgeolocation.html#log_level_debug">BackgroundGeolocation.LOG_LEVEL_DEBUG</a></td>
								</tr>
								<tr>
									<td><a href="../classes/_cordova_background_geolocation_lt_.backgroundgeolocation.html#log_level_verbose">BackgroundGeolocation.LOG_LEVEL_VERBOSE</a></td>
								</tr>
						</tbody></table>
						<dl class="tsd-comment-tags">
							<dt class="tsd-comment-tag-break">break</dt>
							<dd><h3 id="example-log-data-">Example log data:</h3>
								<pre><code>09-19 11:12:18.716 ╔═════════════════════════════════════════════
09-19 11:12:18.716 ║ BackgroundGeolocation<span class="hljs-built_in"> Service </span>started
09-19 11:12:18.716 ╠═════════════════════════════════════════════
09-19 11:12:18.723 [c.t.l.BackgroundGeolocationService d]
09-19 11:12:18.723   ✅  Started <span class="hljs-keyword">in</span> foreground
09-19 11:12:18.737 [c.t.l.ActivityRecognitionService a]
09-19 11:12:18.737   🎾  Start activity updates: 10000
09-19 11:12:18.761 [c.t.l.BackgroundGeolocationService k]
09-19 11:12:18.761   🔴  Stop heartbeat
09-19 11:12:18.768 [c.t.l.BackgroundGeolocationService a]
09-19 11:12:18.768   🎾  Start heartbeat (60)
09-19 11:12:18.778 [c.t.l.BackgroundGeolocationService a]
09-19 11:12:18.778   🔵  setPace: <span class="hljs-literal">null</span> → <span class="hljs-literal">false</span>
09-19 11:12:18.781 [c.t.l.adapter.TSConfig c] ℹ️   Persist<span class="hljs-built_in"> config
</span>09-19 11:12:18.794 [c.t.locationmanager.util.b a]
09-19 11:12:18.794   ℹ️  LocationAuthorization: Permission granted
09-19 11:12:18.842 [c.t.l.http.HttpService flush]
09-19 11:12:18.842 ╔═════════════════════════════════════════════
09-19 11:12:18.842 ║ HTTP<span class="hljs-built_in"> Service
</span>09-19 11:12:18.842 ╠═════════════════════════════════════════════
09-19 11:12:19.000 [c.t.l.BackgroundGeolocationService onActivityRecognitionResult] still (100%)
09-19 11:12:21.314 [c.t.l.l.SingleLocationRequest<span class="hljs-variable">$2</span> onLocationResult]
09-19 11:12:21.314 ╔═════════════════════════════════════════════
09-19 11:12:21.314 ║ SingleLocationRequest: 1
09-19 11:12:21.314 ╠═════════════════════════════════════════════
09-19 11:12:21.314 ╟─ 📍  Location[fused 45.519239,-73.617058 <span class="hljs-attribute">hAcc</span>=15]999923706055 <span class="hljs-attribute">vAcc</span>=2 <span class="hljs-attribute">sAcc</span>=??? <span class="hljs-attribute">bAcc</span>=???
09-19 11:12:21.327 [c.t.l.l.TSLocationManager onSingleLocationResult]
09-19 11:12:21.327   🔵  Acquired motionchange position, isMoving: <span class="hljs-literal">false</span>
09-19 11:12:21.342 [c.t.l.l.TSLocationManager a] 15.243
09-19 11:12:21.405 [c.t.locationmanager.data.a.c persist]
09-19 11:12:21.405   ✅  INSERT: bca5acc8-e358-4d8f-827f-b8c0d556b7bb
09-19 11:12:21.423 [c.t.l.http.HttpService flush]
09-19 11:12:21.423 ╔═════════════════════════════════════════════
09-19 11:12:21.423 ║ HTTP<span class="hljs-built_in"> Service
</span>09-19 11:12:21.423 ╠═════════════════════════════════════════════
09-19 11:12:21.446 [c.t.locationmanager.data.a.c first]
09-19 11:12:21.446   ✅  Locked 1 records
09-19 11:12:21.454 [c.t.l.http.HttpService a]
09-19 11:12:21.454   🔵  HTTP POST: bca5acc8-e358-4d8f-827f-b8c0d556b7bb
09-19 11:12:22.083 [c.t.l.http.HttpService<span class="hljs-variable">$a</span> onResponse]
09-19 11:12:22.083   🔵  Response: 200
09-19 11:12:22.100 [c.t.locationmanager.data.a.c destroy]
09-19 11:12:22.100   ✅  DESTROY: bca5acc8-e358-4d8f-827f-b8c0d556b7bb
09-19 11:12:55.226 [c.t.l.BackgroundGeolocationService onActivityRecognitionResult] still (100%)</code></pre></dd>
							<dt class="tsd-comment-tag-example">example</dt>
							<dd><pre><code class="language-javascript">BackgroundGeolocation.ready({
  <span class="hljs-attr">logLevel</span>: BackgroundGeolocation.LOG_LEVEL_VERBOSE
});</code></pre>
								<h3 id="-see-also-">ℹ️ See also:</h3>
								<ul>
									<li><a href="../classes/_cordova_background_geolocation_lt_.backgroundgeolocation.html#getlog">BackgroundGeolocation.getLog</a></li>
									<li><a href="../classes/_cordova_background_geolocation_lt_.backgroundgeolocation.html#emaillog">BackgroundGeolocation.emailLog</a></li>
									<li><a href="_cordova_background_geolocation_lt_.config.html#logmaxdays">logMaxDays</a></li>
									<li><a href="../classes/_cordova_background_geolocation_lt_.backgroundgeolocation.html#destroylog">destroyLog</a></li>
								</ul>
								<h3 id="-warning-">⚠️ Warning:</h3>
								<ul>
									<li>When submitting your app to production, take care to configure the <strong><code>logLevel</code></strong> appropriately (eg: <strong><a href="../classes/_cordova_background_geolocation_lt_.backgroundgeolocation.html#log_level_error">BackgroundGeolocation.LOG_LEVEL_ERROR</a></strong>) since the logs can grow to several megabytes over a period of <a href="_cordova_background_geolocation_lt_.config.html#logmaxdays">logMaxDays</a>.</li>
								</ul>
							</dd>
						</dl>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
					<a name="logmaxdays" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> log<wbr>Max<wbr>Days</h3>
					<div class="tsd-signature tsd-kind-icon">log<wbr>Max<wbr>Days<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
					<aside class="tsd-sources">
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>Maximum number of days to persist a log-entry in database.</p>
						</div>
						<dl class="tsd-comment-tags">
							<dt class="tsd-comment-tag-break">break</dt>
							<dd><p>Defaults to <strong><code>3</code></strong> days.</p>
								<p> <strong>See also:</strong></p>
								<ul>
									<li><a href="_cordova_background_geolocation_lt_.config.html#loglevel">logLevel</a></li>
								</ul>
							</dd>
						</dl>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
					<a name="maxbatchsize" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> max<wbr>Batch<wbr>Size</h3>
					<div class="tsd-signature tsd-kind-icon">max<wbr>Batch<wbr>Size<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
					<aside class="tsd-sources">
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>Controls the number of records attached to <strong>each</strong> batch HTTP request.</p>
						</div>
						<dl class="tsd-comment-tags">
							<dt class="tsd-comment-tag-break">break</dt>
							<dd><p>Defaults to <code>-1</code> (no maximum).  If you&#39;ve enabled HTTP feature by configuring an <a href="_cordova_background_geolocation_lt_.config.html#url">url</a> with <a href="_cordova_background_geolocation_lt_.config.html#batchsync">batchSync</a> <strong><code>true</code></strong>, this parameter
									will limit the number of records attached to <strong>each</strong> batch request.  If the current number of records exceeds the <strong><a href="_cordova_background_geolocation_lt_.config.html#maxbatchsize">maxBatchSize</a></strong>,
								multiple HTTP requests will be generated until the location queue is empty.</p>
								<p>The plugin can potentially accumulate mega-bytes worth of location-data if operating in a disconnected environment for long periods.
								You will not want to <a href="_cordova_background_geolocation_lt_.config.html#batchsync">batchSync</a> <strong><code>true</code></strong> a large amount of data in a single HTTP request.</p>
								<h3 id="-see-also-">ℹ️ See also:</h3>
								<ul>
									<li><a href="_cordova_background_geolocation_lt_.config.html#batchsync">batchSync</a>
									📘 See HTTP Guide: <a href="_cordova_background_geolocation_lt_.httpevent.html">HttpEvent</a></li>
								</ul>
							</dd>
						</dl>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
					<a name="maxdaystopersist" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> max<wbr>Days<wbr>ToPersist</h3>
					<div class="tsd-signature tsd-kind-icon">max<wbr>Days<wbr>ToPersist<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
					<aside class="tsd-sources">
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>Maximum number of days to store a geolocation in plugin&#39;s SQLite database.</p>
						</div>
						<dl class="tsd-comment-tags">
							<dt class="tsd-comment-tag-break">break</dt>
							<dd><p>When your server fails to respond with <strong><code>HTTP 200 OK</code></strong>, the plugin will continue periodically attempting to upload to your server server
								until <strong><a href="_cordova_background_geolocation_lt_.config.html#maxdaystopersist">maxDaysToPersist</a></strong> when it will give up and remove the location from the database.</p>
							</dd>
						</dl>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
					<a name="maxrecordstopersist" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> max<wbr>Records<wbr>ToPersist</h3>
					<div class="tsd-signature tsd-kind-icon">max<wbr>Records<wbr>ToPersist<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
					<aside class="tsd-sources">
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>Maximum number of records to persist in plugin&#39;s SQLite database.</p>
						</div>
						<p>Default <code>-1</code> means <strong>no limit</strong>.</p>
						<h3 id="-see-also-">ℹ️ See also:</h3>
						<ul>
							<li>📘 See HTTP Guide: <a href="_cordova_background_geolocation_lt_.httpevent.html">HttpEvent</a></li>
						</ul>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
					<a name="method" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> method</h3>
					<div class="tsd-signature tsd-kind-icon">method<span class="tsd-signature-symbol">:</span> <a href="../modules/_cordova_background_geolocation_lt_.html#httpmethod" class="tsd-signature-type">HttpMethod</a></div>
					<aside class="tsd-sources">
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>The HTTP method to use when creating an HTTP request to your configured <a href="_cordova_background_geolocation_lt_.config.html#url">url</a>.</p>
						</div>
						<p>Defaults to <code>POST</code>.  Valid values are <code>POST</code>, <code>PUT</code> and <code>OPTIONS</code>.</p>
						<dl class="tsd-comment-tags">
							<dt class="tsd-comment-tag-example">example</dt>
							<dd><pre><code class="language-javascript">BackgroundGeolocation.ready({
  <span class="hljs-attr">url</span>: <span class="hljs-string">'http://my-server.com/locations'</span>,
  <span class="hljs-attr">method</span>: <span class="hljs-string">'PUT'</span>
});</code></pre>
								<h3 id="-see-also-">ℹ️ See also:</h3>
								<ul>
									<li>📘 See HTTP Guide: <a href="_cordova_background_geolocation_lt_.httpevent.html">HttpEvent</a></li>
								</ul>
							</dd>
						</dl>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
					<a name="minimumactivityrecognitionconfidence" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> minimum<wbr>Activity<wbr>Recognition<wbr>Confidence</h3>
					<div class="tsd-signature tsd-kind-icon">minimum<wbr>Activity<wbr>Recognition<wbr>Confidence<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
					<aside class="tsd-sources">
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>The minimum motion-activity confidence to conclude a device is moving.</p>
						</div>
						<dl class="tsd-comment-tags">
							<dt class="tsd-comment-tag-break">break</dt>
							<dd><p>Defaults to <strong><code>75</code>%</strong>.  Each activity-recognition-result returned by the API is tagged with a &quot;confidence&quot; level expressed as a %.
								You can set your desired confidence to trigger a <a href="../classes/_cordova_background_geolocation_lt_.backgroundgeolocation.html#onmotionchange">BackgroundGeolocation.onMotionChange</a> event.</p>
								<p>This setting can be helpful for poor quality Android devices missing crucial motion sensors (accelerometer, gyroscope, magnetometer)
								by adjusting the confidence lower.  You can determine missing sensors on a device using the method <a href="../classes/_cordova_background_geolocation_lt_.backgroundgeolocation.html#getsensors">getSensors</a>.</p>
							</dd>
							<dt class="tsd-comment-tag-example">example</dt>
							<dd><pre><code class="language-javascript">BackgroundGeolocation.ready({
  <span class="hljs-attr">minimumActivityRecognitionConfidence</span>: <span class="hljs-number">50</span> <span class="hljs-comment">// &lt;-- trigger less confidently.</span>
});</code></pre>
							</dd>
						</dl>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
					<a name="notificationchannelname" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> notification<wbr>Channel<wbr>Name</h3>
					<div class="tsd-signature tsd-kind-icon">notification<wbr>Channel<wbr>Name<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
					<aside class="tsd-sources">
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>Configure the name of the plugin&#39;s notification-channel used to display the <a href="_cordova_background_geolocation_lt_.config.html#foregroundservice">foregroundService</a> notification.</p>
						</div>
						<dl class="tsd-comment-tags">
							<dt class="tsd-comment-tag-break">break</dt>
							<dd><p>On Android O+, the plugin&#39;s foreground-service needs to create a &quot;Notification Channel&quot;.  The name of this channel can be seen in:</p>
								<blockquote>
									<p><code>Settings-&gt;App &amp; Notifications-&gt;Your App.</code></p>
								</blockquote>
								<p>Defaults to your application&#39;s name from <code>AndroidManifest</code>.</p>
								<p><img src="https://dl.dropboxusercontent.com/s/zgcxau7lyjfuaw9/android-notificationChannelName.png?dl=1" alt="">\</p>
							</dd>
							<dt class="tsd-comment-tag-example">example</dt>
							<dd><pre><code class="language-javascript">BackgroundGeolocation.ready({
  <span class="hljs-attr">notificationChannelName</span>: <span class="hljs-string">"Location Tracker"</span>
});

<span class="hljs-comment">// or with #setConfig</span>
BackgroundGeolocation.setConfig({
  <span class="hljs-attr">notificationChannelName</span>: <span class="hljs-string">"My new channel name"</span>
});</code></pre>
							</dd>
						</dl>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
					<a name="notificationcolor" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> notification<wbr>Color</h3>
					<div class="tsd-signature tsd-kind-icon">notification<wbr>Color<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
					<aside class="tsd-sources">
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>Configure the <em>color</em> of the persistent notification icon in the Notification Bar when running with <a href="_cordova_background_geolocation_lt_.config.html#foregroundservice">foregroundService</a> <strong><code>true</code></strong></p>
						</div>
						<dl class="tsd-comment-tags">
							<dt class="tsd-comment-tag-break">break</dt>
							<dd><p>Defaults to <code>null</code>.  When running the service with <a href="_cordova_background_geolocation_lt_.config.html#foregroundservice">foregroundService</a>: true, Android requires a persistent notification.  This will configure the <strong>color</strong> of the notification <strong>icon</strong> (API &gt;= 21).</p>
								<p>Supported formats are:</p>
								<ul>
									<li><code>#RRGGBB</code></li>
									<li><code>#AARRGGBB</code></li>
								</ul>
							</dd>
						</dl>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
					<a name="notificationlargeicon" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> notification<wbr>Large<wbr>Icon</h3>
					<div class="tsd-signature tsd-kind-icon">notification<wbr>Large<wbr>Icon<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
					<aside class="tsd-sources">
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>Configure the <em>large icon</em> of the persistent notification in the Notification Bar when running with <a href="_cordova_background_geolocation_lt_.config.html#foregroundservice">foregroundService</a> <strong><code>true</code></strong></p>
						</div>
						<dl class="tsd-comment-tags">
							<dt class="tsd-comment-tag-break">break</dt>
							<dd><p>When running the service with <a href="_cordova_background_geolocation_lt_.config.html#foregroundservice">foregroundService</a>: true, Android requires a persistent notification in the Notification Bar.  This allows you customize that icon.  Defaults to your application icon.</p>
								<h3 id="-warning-">⚠️ Warning:</h3>
								<ul>
									<li>You must specify the <strong><code>type</code></strong> (<code>drawable|mipmap</code>) of resource you wish to use in the following format: <code>{type}/icon_name</code></li>
									<li>Do not append the file-extension (eg: <code>.png</code>)</li>
								</ul>
							</dd>
							<dt class="tsd-comment-tag-example">example</dt>
							<dd><pre><code class="language-javascript"><span class="hljs-comment">// 1. drawable</span>
BackgroundGeolocation.ready({
  <span class="hljs-attr">notificationSmallIcon</span>: <span class="hljs-string">"drawable/my_custom_notification_small_icon"</span>
});

<span class="hljs-comment">// 2. mipmap</span>
BackgroundGeolocation.ready({
  <span class="hljs-attr">notificationSmallIcon</span>: <span class="hljs-string">"mipmap/my_custom_notification_small_icon"</span>
});</code></pre>
								<h3 id="-see-also-">ℹ️ See also:</h3>
								<ul>
									<li><a href="_cordova_background_geolocation_lt_.config.html#notificationsmallicon">notificationSmallIcon</a></li>
								</ul>
							</dd>
						</dl>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
					<a name="notificationpriority" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> notification<wbr>Priority</h3>
					<div class="tsd-signature tsd-kind-icon">notification<wbr>Priority<span class="tsd-signature-symbol">:</span> <a href="../modules/_cordova_background_geolocation_lt_.html#notificationpriority" class="tsd-signature-type">NotificationPriority</a></div>
					<aside class="tsd-sources">
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>When running the service with <a href="_cordova_background_geolocation_lt_.config.html#foregroundservice">foregroundService</a>: true, Android requires a persistent notification in the Notification Bar.  This will control the <strong>priority</strong> of that notification as well as the position of the notificaiton-bar icon.</p>
						</div>
						<p>The following <code>notificationPriority</code> values defined as static constants upon the <a href="../classes/_cordova_background_geolocation_lt_.backgroundgeolocation.html">BackgroundGeolocation</a> object:</p>
						<table>
							<thead>
								<tr>
									<th>Value</th>
									<th>Description</th>
								</tr>
							</thead>
							<tbody><tr>
									<td><a href="../classes/_cordova_background_geolocation_lt_.backgroundgeolocation.html#notification_priority_default">BackgroundGeolocation.NOTIFICATION_PRIORITY_DEFAULT</a></td>
									<td>Notification weighted to top of list; notification-bar icon weighted left</td>
								</tr>
								<tr>
									<td><a href="../classes/_cordova_background_geolocation_lt_.backgroundgeolocation.html#notification_priority_high">BackgroundGeolocation.NOTIFICATION_PRIORITY_HIGH</a></td>
									<td>Notification <strong>strongly</strong> weighted to top of list; notification-bar icon <strong>strongly</strong> weighted to left</td>
								</tr>
								<tr>
									<td><a href="../classes/_cordova_background_geolocation_lt_.backgroundgeolocation.html#notification_priority_low">BackgroundGeolocation.NOTIFICATION_PRIORITY_LOW</a></td>
									<td>Notification weighted to bottom of list; notification-bar icon weighted right</td>
								</tr>
								<tr>
									<td><a href="../classes/_cordova_background_geolocation_lt_.backgroundgeolocation.html#notification_priority_max">BackgroundGeolocation.NOTIFICATION_PRIORITY_MAX</a></td>
									<td>Same as <code>NOTIFICATION_PRIORITY_HIGH</code></td>
								</tr>
								<tr>
									<td><a href="../classes/_cordova_background_geolocation_lt_.backgroundgeolocation.html#notification_priority_min">BackgroundGeolocation.NOTIFICATION_PRIORITY_MIN</a></td>
									<td>Notification <strong>strongly</strong> weighted to bottom of list; notification-bar icon <strong>hidden</strong></td>
								</tr>
						</tbody></table>
						<dl class="tsd-comment-tags">
							<dt class="tsd-comment-tag-example">example</dt>
							<dd><pre><code class="language-javascript">BackgroundGeolocation.ready({
  <span class="hljs-attr">foregroundService</span>: <span class="hljs-literal">true</span>,
  <span class="hljs-attr">notificationPriority</span>: BackgroundGeolocation.NOTIFICATION_PRIORITY_MIN
});</code></pre>
							</dd>
						</dl>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
					<a name="notificationsmallicon" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> notification<wbr>Small<wbr>Icon</h3>
					<div class="tsd-signature tsd-kind-icon">notification<wbr>Small<wbr>Icon<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
					<aside class="tsd-sources">
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>Configure the <em>small icon</em> of the persistent notification in the Notification Bar when running with <a href="_cordova_background_geolocation_lt_.config.html#foregroundservice">foregroundService</a> <strong><code>true</code></strong></p>
						</div>
						<dl class="tsd-comment-tags">
							<dt class="tsd-comment-tag-break">break</dt>
							<dd><p>When running the service with <a href="_cordova_background_geolocation_lt_.config.html#foregroundservice">foregroundService</a>: true, Android requires a persistent notification in the Notification Bar.  This allows you customize that icon.  Defaults to your application icon.</p>
								<h3 id="-warning-">⚠️ Warning:</h3>
								<ul>
									<li>You must specify the <strong><code>type</code></strong> (<code>drawable|mipmap</code>) of resource you wish to use in the following format: <code>{type}/icon_name</code></li>
									<li>Do not append the file-extension (eg: <code>.png</code>)</li>
								</ul>
							</dd>
							<dt class="tsd-comment-tag-example">example</dt>
							<dd><pre><code class="language-javascript"><span class="hljs-comment">// 1. drawable</span>
BackgroundGeolocation.ready({
  <span class="hljs-attr">notificationSmallIcon</span>: <span class="hljs-string">"drawable/my_custom_notification_small_icon"</span>
});

<span class="hljs-comment">// 2. mipmap</span>
BackgroundGeolocation.ready({
  <span class="hljs-attr">notificationSmallIcon</span>: <span class="hljs-string">"mipmap/my_custom_notification_small_icon"</span>
});</code></pre>
								<h3 id="-see-also-">ℹ️ See also:</h3>
								<ul>
									<li><a href="_cordova_background_geolocation_lt_.config.html#notificationlargeicon">notificationLargeIcon</a></li>
								</ul>
							</dd>
						</dl>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
					<a name="notificationtext" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> notification<wbr>Text</h3>
					<div class="tsd-signature tsd-kind-icon">notification<wbr>Text<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
					<aside class="tsd-sources">
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>Configure the <em>text</em> of the persistent notification in the Notification Bar when running with <a href="_cordova_background_geolocation_lt_.config.html#foregroundservice">foregroundService</a> <strong><code>true</code></strong></p>
						</div>
						<dl class="tsd-comment-tags">
							<dt class="tsd-comment-tag-break">break</dt>
							<dd><p>Defaults to <em>&quot;Location service activated&quot;</em>.  When running the service with <a href="_cordova_background_geolocation_lt_.config.html#foregroundservice">foregroundService</a>: true, Android requires a persistent notification.  This will configure the <strong>text</strong> of that notification.</p>
							</dd>
						</dl>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
					<a name="notificationtitle" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> notification<wbr>Title</h3>
					<div class="tsd-signature tsd-kind-icon">notification<wbr>Title<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
					<aside class="tsd-sources">
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>Configure the <em>title</em> of the persistent notification in the Notification Bar when running with <a href="_cordova_background_geolocation_lt_.config.html#foregroundservice">foregroundService</a> <strong><code>true</code></strong></p>
						</div>
						<dl class="tsd-comment-tags">
							<dt class="tsd-comment-tag-break">break</dt>
							<dd><p>Defaults to the application name from <code>AndroidManifest</code>.  When running the service with <a href="_cordova_background_geolocation_lt_.config.html#foregroundservice">foregroundService</a>: true, Android requires a persistent notification.  This will configure the <strong>title</strong> of that notification.</p>
							</dd>
						</dl>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
					<a name="params" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> params</h3>
					<div class="tsd-signature tsd-kind-icon">params<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Object</span></div>
					<aside class="tsd-sources">
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>Optional HTTP <strong><code>params</code></strong> appended to the JSON body of each HTTP request.</p>
						</div>
						<dl class="tsd-comment-tags">
							<dt class="tsd-comment-tag-example">example</dt>
							<dd><pre><code class="language-javascript">BackgroundGeolocation.ready({
  <span class="hljs-attr">url</span>: <span class="hljs-string">'https://my-server.com/locations'</span>,
  <span class="hljs-attr">params</span>: {
    <span class="hljs-string">'user_id'</span>: <span class="hljs-number">1234</span>,
    <span class="hljs-string">'device_id'</span>: <span class="hljs-string">'abc123'</span>
  }
);</code></pre>
								<p>Observing the HTTP request arriving at your server:</p>
							</dd>
							<dt class="tsd-comment-tag-example">example</dt>
							<dd><pre><code class="language-javascript">POST /locations
 {
  <span class="hljs-string">"location"</span>: {
    <span class="hljs-string">"coords"</span>: {
      <span class="hljs-string">"latitude"</span>: <span class="hljs-number">45.51927004945047</span>,
      <span class="hljs-string">"longitude"</span>: <span class="hljs-number">-73.61650072045029</span>
      .
      .
      .
    }
  },
  <span class="hljs-string">"user_id"</span>: <span class="hljs-number">1234</span>,  <span class="hljs-comment">// &lt;-- params appended to the data.</span>
  <span class="hljs-string">"device_id"</span>: <span class="hljs-string">'abc123'</span>
}</code></pre>
								<h3 id="-see-also-">ℹ️ See also:</h3>
								<ul>
									<li><a href="_cordova_background_geolocation_lt_.config.html#headers">headers</a></li>
									<li><a href="_cordova_background_geolocation_lt_.config.html#extras">extras</a></li>
									<li>📘 See HTTP Guide: <a href="_cordova_background_geolocation_lt_.httpevent.html">HttpEvent</a></li>
								</ul>
							</dd>
						</dl>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
					<a name="pauseslocationupdatesautomatically" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> pauses<wbr>Location<wbr>Updates<wbr>Automatically</h3>
					<div class="tsd-signature tsd-kind-icon">pauses<wbr>Location<wbr>Updates<wbr>Automatically<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
					<aside class="tsd-sources">
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p><strong><code>[iOS only]</code></strong> Configure iOS location API to <em>never</em> automatically turn off.</p>
						</div>
						<dl class="tsd-comment-tags">
							<dt class="tsd-comment-tag-break">break</dt>
							<dd><h3 id="-warning-">⚠️ Warning:</h3>
								<ul>
									<li>This option should generally be left <code>undefined</code>.  You should only specifiy this option if you know <em>exactly</em> what you&#39;re doing.</li>
								</ul>
								<p>The default behaviour of the plugin is to turn <strong>off</strong> location-services <em>automatically</em> when the device is detected to be stationary for <a href="_cordova_background_geolocation_lt_.config.html#stoptimeout">stopTimeout</a> minutes.  When set to <code>false</code>, location-services will <strong>never</strong> be turned off (and <a href="_cordova_background_geolocation_lt_.config.html#disablestopdetection">disableStopDetection</a> will automatically be set to <code>true</code>) &mdash; it&#39;s your responsibility to turn them off when you no longer need to track the device.  This feature should <strong>not</strong> generally be used.  <a href="_cordova_background_geolocation_lt_.config.html#preventsuspend">preventSuspend</a> will no longer work either.</p>
							</dd>
						</dl>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
					<a name="preventsuspend" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> prevent<wbr>Suspend</h3>
					<div class="tsd-signature tsd-kind-icon">prevent<wbr>Suspend<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
					<aside class="tsd-sources">
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p><strong><code>[iOS only]</code></strong> Prevent iOS from suspending your application in the background after location-services have been switched off.</p>
						</div>
						<dl class="tsd-comment-tags">
							<dt class="tsd-comment-tag-break">break</dt>
							<dd><p>Defaults to <strong><code>false</code></strong>.  Set <strong><code>true</code></strong> to prevent <strong>iOS</strong> from suspending your application after location-services have been switched off while running in the background.  Must be used in conjunction with a <a href="_cordova_background_geolocation_lt_.config.html#heartbeatinterval">heartbeatInterval</a>.</p>
								<h3 id="-warning-">⚠️ Warning:</h3>
								<ul>
									<li><strong><code>preventSuspend: true</code></strong> should <strong>only</strong> be used in <strong>very</strong> specific use-cases and should typically <strong>not</strong> be used as it <em>will</em> have a <strong>very noticable impact on battery performance.</strong>  You should carefully manage <strong><code>preventSuspend</code></strong>, engaging it for controlled periods-of-time.  You should <strong>not</strong> expect to run your app in this mode 24 hours / day, 7 days-a-week.</li>
									<li>When a device is unplugged form power with the screen off, iOS will <em>still</em> throttle <a href="../classes/_cordova_background_geolocation_lt_.backgroundgeolocation.html#onheartbeat">BackgroundGeolocation.onHeartbeat</a> events about 2 minutes after entering the background state.  However, if the screen is lit up or even the <em>slightest</em> device-motion is detected, <a href="../classes/_cordova_background_geolocation_lt_.backgroundgeolocation.html#onheartbeat">BackgroundGeolocation.onHeartbeat</a> events will immediately resume.</li>
								</ul>
							</dd>
							<dt class="tsd-comment-tag-example">example</dt>
							<dd><pre><code class="language-javascript">BackgroundGeolocation.onHeartbeat(<span class="hljs-function">(<span class="hljs-params">event</span>) =&gt;</span> {
  <span class="hljs-built_in">console</span>.log(<span class="hljs-string">'[onHeartbeat] '</span>, event);
});

BackgroundGeolocation.ready({
  <span class="hljs-attr">preventSuspend</span>: <span class="hljs-literal">true</span>,
  <span class="hljs-attr">heartbeatInterval</span>: <span class="hljs-number">60</span>
});</code></pre>
								<h3 id="-see-also-">ℹ️ See also:</h3>
								<ul>
									<li><a href="_cordova_background_geolocation_lt_.config.html#heartbeatinterval">heartbeatInterval</a></li>
									<li><a href="../classes/_cordova_background_geolocation_lt_.backgroundgeolocation.html#onheartbeat">BackgroundGeolocation.onHeartbeat</a></li>
								</ul>
							</dd>
						</dl>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
					<a name="reset" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> reset</h3>
					<div class="tsd-signature tsd-kind-icon">reset<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
					<aside class="tsd-sources">
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>Forces <a href="../classes/_cordova_background_geolocation_lt_.backgroundgeolocation.html#ready">BackgroundGeolocation.ready</a> to apply supplied <a href="_cordova_background_geolocation_lt_.config.html">Config</a> with each application launch.</p>
						</div>
						<dl class="tsd-comment-tags">
							<dt class="tsd-comment-tag-break">break</dt>
							<dd><p>Optionally, you can specify <strong><code>reset: true</code></strong> to <a href="../classes/_cordova_background_geolocation_lt_.backgroundgeolocation.html#ready">BackgroundGeolocation.ready</a>.  This will esentially <em>force</em> the supplied <a href="_cordova_background_geolocation_lt_.config.html">Config</a>
								to be applied with each launch of your application.</p>
							</dd>
							<dt class="tsd-comment-tag-example">example</dt>
							<dd><pre><code class="language-javascript">BackgroundGeolocation.ready({
  <span class="hljs-attr">reset</span>: <span class="hljs-literal">true</span>,  <span class="hljs-comment">// &lt;-- set true to ALWAYS apply supplied config; not just at first launch.</span>
  distanceFilter: <span class="hljs-number">50</span>
}, (state) =&gt; {
  conosle.log(<span class="hljs-string">'Ready with reset: true: '</span>, state.distanceFilter);
});</code></pre>
							</dd>
						</dl>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
					<a name="schedule" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> schedule</h3>
					<div class="tsd-signature tsd-kind-icon">schedule<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Array</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span></div>
					<aside class="tsd-sources">
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>Configures an automated, cron-like schedule for the plugin to <a href="../classes/_cordova_background_geolocation_lt_.backgroundgeolocation.html#start">start</a> / <a href="../classes/_cordova_background_geolocation_lt_.backgroundgeolocation.html#stop">stop</a> tracking at pre-defined times.</p>
						</div>
						<dl class="tsd-comment-tags">
							<dt class="tsd-comment-tag-example">example</dt>
							<dd><pre><code class="language-javascript">  <span class="hljs-string">"{DAY(s)} {START_TIME}-{END_TIME}"</span></code></pre>
								<ul>
									<li>The <code>START_TIME</code>, <code>END_TIME</code> are in <strong>24h format</strong>.</li>
									<li>The <code>DAY</code> param corresponds to the <code>Locale.US</code>, such that <strong>Sunday=1</strong>; <strong>Saturday=7</strong>).</li>
									<li>You may configure a single day (eg: <code>1</code>), a comma-separated list-of-days (eg: <code>2,4,6</code>) or a range (eg: <code>2-6</code>)</li>
								</ul>
							</dd>
							<dt class="tsd-comment-tag-example">example</dt>
							<dd><pre><code class="language-javascript">BackgroundGeolocation.ready({
  .
  .
  .
  schedule: [
    <span class="hljs-string">'1 17:30-21:00'</span>,    <span class="hljs-comment">// Sunday: 5:30pm-9:00pm</span>
    <span class="hljs-string">'2-6 9:00-17:00'</span>,   <span class="hljs-comment">// Mon-Fri: 9:00am to 5:00pm</span>
    <span class="hljs-string">'2,4,6 20:00-00:00'</span>,<span class="hljs-comment">// Mon, Web, Fri: 8pm to midnight (next day)</span>
    <span class="hljs-string">'7 10:00-19:00'</span>     <span class="hljs-comment">// Sat: 10am-7pm</span>
  ]
}).then(<span class="hljs-function">(<span class="hljs-params">state</span>) =&gt;</span> {
  <span class="hljs-comment">// Start the Scheduler</span>
  BackgroundGeolocation.startSchedule();
});

<span class="hljs-comment">// Listen to #onSchedule events:</span>
BackgroundGeolocation.onSchedule(<span class="hljs-function">(<span class="hljs-params">state</span>) =&gt;</span> {
  <span class="hljs-keyword">let</span> enabled = state.enabled;
  <span class="hljs-built_in">console</span>.log(<span class="hljs-string">'[onSchedule] - enabled? '</span>, enabled);
});
.
.
.
<span class="hljs-comment">// Later when you want to stop the Scheduler (eg: user logout)</span>
BackgroundGeolocation.stopSchedule();
<span class="hljs-comment">// You must explicitly stop tracking if currently enabled</span>
BackgroundGeolocation.stop();

<span class="hljs-comment">// Or modify the schedule with usual #setConfig method</span>
BackgroundGeolocation.setConfig({
  <span class="hljs-attr">schedule</span>: [
    <span class="hljs-string">'1-7 9:00-10:00'</span>,
    <span class="hljs-string">'1-7 11:00-12:00'</span>,
    <span class="hljs-string">'1-7 13:00-14:00'</span>,
    <span class="hljs-string">'1-7 15:00-16:00'</span>,
    <span class="hljs-string">'1-7 17:00-18:00'</span>,
    <span class="hljs-string">'2,4,6 19:00-22:00'</span>
  ]
});</code></pre>
								<h3 id="literal-dates">Literal Dates</h3>
								<p>The schedule can also be configured with a literal start date of the form:</p>
							</dd>
							<dt class="tsd-comment-tag-example">example</dt>
							<dd><pre><code>  "<span class="hljs-selector-tag">yyyy-mm-dd</span> <span class="hljs-selector-tag">HH</span><span class="hljs-selector-pseudo">:mm-HH</span><span class="hljs-selector-pseudo">:mm"</span></code></pre></dd>
							<dt class="tsd-comment-tag-example">example</dt>
							<dd><pre><code class="language-javascript">BackgroundGeolocation.ready({
  <span class="hljs-attr">schedule</span>: [
    <span class="hljs-string">"2018-01-01 09:00-17:00"</span>
  ]
});</code></pre>
								<p>Or <strong>two</strong> literal dates to specify both a start <strong>and</strong> stop date:</p>
							</dd>
							<dt class="tsd-comment-tag-example">example</dt>
							<dd><pre><code>  "<span class="hljs-selector-tag">yyyy-mm-dd-HH</span><span class="hljs-selector-pseudo">:mm</span> <span class="hljs-selector-tag">yyyy-mm-dd-HH</span><span class="hljs-selector-pseudo">:mm"</span></code></pre></dd>
							<dt class="tsd-comment-tag-example">example</dt>
							<dd><pre><code class="language-javascript">
schedule: [
    <span class="hljs-string">"2018-01-01-09:00 2019-01-01-17:00"</span>  <span class="hljs-comment">// &lt;-- track for 1 year</span>
  ]</code></pre>
								<h3 id="ios">iOS</h3>
								<ul>
									<li>iOS <strong>cannot</strong> evaluate the Schedule at the <em>exact</em> time you configure &mdash; it can only evaluate the <strong><code>schedule</code></strong> <em>periodically</em>, whenever your app comes alive.</li>
									<li>When the app is running in a scheduled <strong>off</strong> period, iOS will continue to monitor the low-power, <a href="https://developer.apple.com/reference/corelocation/cllocationmanager/1423531-startmonitoringsignificantlocati?language=objc">significant location changes API (SLC)</a> in order to ensure periodic schedule evaluation.  <strong>SLC</strong> is required in order guarantee periodic schedule-evaluation when you&#39;re configured <a href="_cordova_background_geolocation_lt_.config.html#stoponterminate">stopOnTerminate</a> <strong><code>false</code></strong>, since the iOS Background Fetch API is halted if user <em>manually</em> terminates the app.  <strong>SLC</strong> will awaken your app whenever a &quot;significant location change&quot; occurs, typically every <code>1000</code> meters.  If the <code>schedule</code> is currently in an <strong>off</strong> period, this location will <strong>not</strong> be persisted nor will it be sent to the <a href="../classes/_cordova_background_geolocation_lt_.backgroundgeolocation.html#onlocation">BackgroundGeolocation.onLocation</a> event &mdash; only the <strong><code>schedule</code></strong> will be evaluated.</li>
									<li>When a <strong><code>schedule</code></strong> is provided on iOS, it will be evaluated in the following cases:<ul>
											<li>Application <code>pause</code> / <code>resume</code> events.</li>
											<li>Whenever a location is recorded (including <strong>SLC</strong>)</li>
											<li>Background fetch event</li>
										</ul>
									</li>
								</ul>
								<h3 id="android">Android</h3>
								<p>The Android Scheduler uses <a href="https://developer.android.com/reference/android/app/AlarmManager#setExactAndAllowWhileIdle(int,%20long,%20android.app.PendingIntent)"><code>AlarmManager</code></a> and <em>typically</em> operates on-the-minute.</p>
								<h3 id="-see-also-">ℹ️ See also:</h3>
								<ul>
									<li><a href="../classes/_cordova_background_geolocation_lt_.backgroundgeolocation.html#startschedule">startSchedule</a></li>
									<li><a href="../classes/_cordova_background_geolocation_lt_.backgroundgeolocation.html#stopschedule">stopSchedule</a></li>
								</ul>
							</dd>
						</dl>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
					<a name="startonboot" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> start<wbr>OnBoot</h3>
					<div class="tsd-signature tsd-kind-icon">start<wbr>OnBoot<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
					<aside class="tsd-sources">
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>Controls whether to resume location-tracking after device is <strong>rebooted</strong>.</p>
						</div>
						<p>Defaults to <strong><code>false</code></strong>.  Set <strong><code>true</code></strong> to engage background-tracking after the device reboots.</p>
						<dl class="tsd-comment-tags">
							<dt class="tsd-comment-tag-break">break</dt>
							<dd><h3 id="ios">iOS</h3>
								<p>iOS cannot <strong>immediately</strong> engage tracking after a device reboot.  Just like <a href="_cordova_background_geolocation_lt_.config.html#stoponterminate">stopOnTerminate</a> <strong><code>false</code></strong>, iOS will not re-boot your
									app until the device moves beyond the <strong>stationary geofence</strong> around the last known location.  In addition, iOS subscribes to
									&quot;background-fetch&quot; events, which typically fire about every 15 minutes &mdash; these too are capable of rebooting your app after a device
								reboot.</p>
								<h3 id="android">Android</h3>
								<p>Android will reboot the plugin&#39;s background-service <em>immediately</em> after device reboot.  However, just like <a href="_cordova_background_geolocation_lt_.config.html#stoponterminate">stopOnTerminate</a> <strong><code>false</code></strong>,
									the plugin will be running &quot;headless&quot; without your Application code.  If you wish for your Flutter Application to boot as well, you may
								configure any of the following <strong><code>forceReloadOnXXX</code></strong> options:</p>
								<ul>
									<li><a href="_cordova_background_geolocation_lt_.config.html#forcereloadonlocationchange">forceReloadOnLocationChange</a></li>
									<li><a href="_cordova_background_geolocation_lt_.config.html#forcereloadonmotionchange">forceReloadOnMotionChange</a></li>
									<li><a href="_cordova_background_geolocation_lt_.config.html#forcereloadongeofence">forceReloadOnGeofence</a></li>
									<li><a href="_cordova_background_geolocation_lt_.config.html#forcereloadonboot">forceReloadOnBoot</a></li>
									<li><a href="_cordova_background_geolocation_lt_.config.html#forcereloadonheartbeat">forceReloadOnHeartbeat</a></li>
								</ul>
								<h3 id="-see-also-">ℹ️ See also:</h3>
								<ul>
									<li><a href="_cordova_background_geolocation_lt_.config.html#enableheadless">enableHeadless</a></li>
								</ul>
							</dd>
						</dl>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
					<a name="stationaryradius" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> stationary<wbr>Radius</h3>
					<div class="tsd-signature tsd-kind-icon">stationary<wbr>Radius<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
					<aside class="tsd-sources">
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p><strong><code>[iOS only]</code></strong> The minimum distance the device must move beyond the stationary location for aggressive background-tracking to engage.</p>
						</div>
						<h3 id="-note-ios-will-not-detect-the-exact-moment-the-device-moves-out-of-the-stationary-radius-in-normal-conditions-it-will-typically">⚠️ Note: iOS will not detect the exact moment the device moves out of the stationary-radius.  In normal conditions, it will typically</h3>
						<p>take <strong>~200 meters</strong> of movement before the plugin begins tracking.</p>
						<dl class="tsd-comment-tags">
							<dt class="tsd-comment-tag-break">break</dt>
							<dd><p>Configuring <strong><code>stationaryRadius: 0</code></strong> has <strong>NO EFFECT</strong>.  In fact the plugin enforces a minimum <strong><code>stationaryRadius</code></strong> of <code>25</code> and
								in-practice, the native API won&#39;t respond for at least 200 meters.</p>
								<p>The following image shows the typical distance iOS requires to detect exit of the <strong><code>stationaryRadius</code></strong>:</p>
								<ul>
									<li><em>Green polylines</em>: represent a transition from <strong>stationary</strong> state to <strong>moving</strong> (<strong>~200 meters</strong>).</li>
									<li><em>Red circles</em>: locations where the plugin entered the <strong>stationary</strong> state.</li>
								</ul>
								<p><img src="https://dl.dropboxusercontent.com/s/vnio90swhs6xmqm/screenshot-ios-stationary-exit.png?dl=1" alt=""></p>
								<h3 id="-see-also-">ℹ️ See also:</h3>
								<ul>
									<li>📘 <a href="https://github.com/transistorsoft/cordova-background-geolocation-lt/wiki/Philosophy-of-Operation">Philosophy of Operation</a></li>
								</ul>
							</dd>
						</dl>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
					<a name="stopafterelapsedminutes" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> stop<wbr>After<wbr>Elapsed<wbr>Minutes</h3>
					<div class="tsd-signature tsd-kind-icon">stop<wbr>After<wbr>Elapsed<wbr>Minutes<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
					<aside class="tsd-sources">
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>Automatically <a href="../classes/_cordova_background_geolocation_lt_.backgroundgeolocation.html#stop">stop</a> tracking after <em>x</em> minutes.</p>
						</div>
						<p>The plugin can optionally automatically <a href="../classes/_cordova_background_geolocation_lt_.backgroundgeolocation.html#stop">stop</a> after some number of minutes elapses after the <a href="../classes/_cordova_background_geolocation_lt_.backgroundgeolocation.html#start">start</a> method was called.</p>
						<dl class="tsd-comment-tags">
							<dt class="tsd-comment-tag-example">example</dt>
							<dd><pre><code class="language-typescript">BackgroundGeolocation.ready({
  stopAfterElapsedMinutes: <span class="hljs-number">30</span>
}).then(<span class="hljs-function">(<span class="hljs-params">state</span>) =&gt;</span> {
  BackgroundGeolocation.start();  <span class="hljs-comment">// &lt;-- plugin will automatically #stop in 30 minutes</span>
});</code></pre>
							</dd>
						</dl>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
					<a name="stopdetectiondelay" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> stop<wbr>Detection<wbr>Delay</h3>
					<div class="tsd-signature tsd-kind-icon">stop<wbr>Detection<wbr>Delay<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
					<aside class="tsd-sources">
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p><strong><code>[iOS only]</code></strong> Allows the iOS stop-detection system to be delayed from activating.</p>
						</div>
						<dl class="tsd-comment-tags">
							<dt class="tsd-comment-tag-break">break</dt>
							<dd><p>Defaults to <strong><code>0</code></strong> (no delay).  Allows the stop-detection system to be delayed from activating.  When the stop-detection system <em>is</em> engaged, location-services will be temporarily turned <strong>off</strong> and only the accelerometer is monitored.  Stop-detection will only engage if this timer expires.  The timer is cancelled if any movement is detected before expiration.  If a value of <strong><code>0</code></strong> is specified, the stop-detection system will engage as soon as the device is detected to be stationary.</p>
								<p>You can experience the iOS stop-detection system at work by configuring <a href="_cordova_background_geolocation_lt_.config.html#debug">debug</a> <strong><code>true</code></strong>.  After the device stops moving (stopped at a traffic light, for example), the plugin will emit a <em>Lullabye</em> sound-effect and local-notifications about &quot;Location-services: OFF / ON&quot;.</p>
								<h4 id="ios-stop-detection-timing">iOS Stop-detection timing</h4>
								<p><img src="https://dl.dropboxusercontent.com/s/ojjdfkmua15pskh/ios-stop-detection-timing.png?dl=1" alt=""></p>
							</dd>
						</dl>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
					<a name="stoponstationary" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> stop<wbr>OnStationary</h3>
					<div class="tsd-signature tsd-kind-icon">stop<wbr>OnStationary<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
					<aside class="tsd-sources">
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>Automatically <a href="../classes/_cordova_background_geolocation_lt_.backgroundgeolocation.html#stop">BackgroundGeolocation.stop</a> when the <a href="_cordova_background_geolocation_lt_.config.html#stoptimeout">stopTimeout</a> elapses.</p>
						</div>
						<dl class="tsd-comment-tags">
							<dt class="tsd-comment-tag-break">break</dt>
							<dd><p>The plugin can optionally automatically stop tracking when the <a href="_cordova_background_geolocation_lt_.config.html#stoptimeout">stopTimeout</a> timer elapses.  For example, when the plugin
									first fires <a href="../classes/_cordova_background_geolocation_lt_.backgroundgeolocation.html#onmotionchange">BackgroundGeolocation.onMotionChange</a> into the <em>moving</em> state, the next time an <em>onMotionChange</em> event occurs
								into the <em>stationary</em> state, the plugin will have automatically called <a href="../classes/_cordova_background_geolocation_lt_.backgroundgeolocation.html#stop">BackgroundGeolocation.stop</a> upon itself.</p>
								<p>⚠️ <code>stopOnStationary</code> will <strong>only</strong> occur due to <a href="_cordova_background_geolocation_lt_.config.html#stoptimeout">stopTimeout</a> timer elapse.  It will <strong>not</strong> occur by manually executing
								<a href="../classes/_cordova_background_geolocation_lt_.backgroundgeolocation.html#changepace">BackgroundGeolocation.changePace</a> <strong><code>false</code></strong>.</p>
							</dd>
							<dt class="tsd-comment-tag-example">example</dt>
							<dd><pre><code class="language-typescript">BackgroundGeolocation.ready({
  stopOnStationary: <span class="hljs-literal">true</span>,
  isMoving: <span class="hljs-literal">true</span>
}, <span class="hljs-function">(<span class="hljs-params">state</span>) =&gt;</span> {
  BackgroundGeolocation.start();
});</code></pre>
							</dd>
						</dl>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
					<a name="stoponterminate" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> stop<wbr>OnTerminate</h3>
					<div class="tsd-signature tsd-kind-icon">stop<wbr>OnTerminate<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
					<aside class="tsd-sources">
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>Controls whether to continue location-tracking after application is <strong>terminated</strong>.</p>
						</div>
						<dl class="tsd-comment-tags">
							<dt class="tsd-comment-tag-break">break</dt>
							<dd><p>Defaults to <strong><code>true</code></strong>.  When the user terminates the app, the plugin will <a href="../classes/_cordova_background_geolocation_lt_.backgroundgeolocation.html#stop">BackgroundGeolocation.stop</a> tracking.  Set this to <strong><code>false</code></strong>
								to continue tracking after application terminate.</p>
								<p>If you <em>do</em> configure <strong><code>stopOnTerminate: false</code></strong>, your application <strong>will</strong> terminate at that time.  However, both Android and iOS differ
								in their behaviour <em>after</em> this point:</p>
								<h3 id="ios">iOS</h3>
								<p>Before an iOS app terminates, the plugin will ensure that a <strong>stationary geofence</strong> of <a href="_cordova_background_geolocation_lt_.config.html#stationaryradius">stationaryRadius</a> meters is created around the last
								known position.  When the user moves beyond the stationary geofence (typically ~200 meters), iOS will <strong>completely reboot your application in the background</strong>, and the plugin will resume tracking.  iOS maintains geofence monitoring at the OS level, in spite of application terminate / device reboot.</p>
								<p>In the following image, imagine the user terminated the application at the <strong>&quot;red circle&quot;</strong> on the right, then continued moving:  Once the
								device moves <strong>by about 200 meters</strong>, exiting the &quot;stationary geofence&quot;, iOS reboots the app and tracking resumes.</p>
								<p>ℹ️ <a href="https://www.youtube.com/watch?v=aR6r8qV1TI8&amp;t=214s">Demo Video of <code>stopOnTerminate: false</code></a></p>
								<p><img src="https://dl.dropboxusercontent.com/s/1uip231l3gds68z/screenshot-stopOnTerminate-ios.png?dl=0" alt=""></p>
								<h3 id="android">Android</h3>
								<p>Unlike iOS, the Android plugin&#39;s tracking will <strong>not</strong> pause at all when user terminates the app.  However, only the plugin&#39;s native background
									service continues to operate, <strong>&quot;headless&quot;</strong> (in this case, you should configure an <a href="_cordova_background_geolocation_lt_.config.html#url">url</a> in order for the background-service to continue
								uploading locations to your server).</p>
								<h3 id="-see-also-">ℹ️ See also:</h3>
								<ul>
									<li><a href="https://github.com/transistorsoft/cordova-background-geolocation-lt/wiki/Android-Headless-Mode">Android Headless Mode</a></li>
									<li><a href="_cordova_background_geolocation_lt_.config.html#enableheadless">enableHeadless</a></li>
								</ul>
							</dd>
						</dl>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
					<a name="stoptimeout" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> stop<wbr>Timeout</h3>
					<div class="tsd-signature tsd-kind-icon">stop<wbr>Timeout<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
					<aside class="tsd-sources">
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>Minutes to wait in <em>moving</em> state with no movement before considering the device <em>stationary</em>.</p>
						</div>
						<dl class="tsd-comment-tags">
							<dt class="tsd-comment-tag-break">break</dt>
							<dd><p>Defaults to <code>5</code> minutes.  When in the <em>moving</em> state, specifies the number of minutes to wait before turning off location-services and
									transitioning to <em>stationary</em> state after the ActivityRecognition System detects the device is <code>STILL</code>.  An example use-case for this
								configuration is to delay GPS OFF while in a car waiting at a traffic light.</p>
								<h3 id="-setting-a-value-15-min-is-not-recommended-particularly-for-android-">⚠️ Setting a value &gt; 15 min is <strong>not</strong> recommended, particularly for Android.</h3>
								<h3 id="-see-also-">ℹ️ See also:</h3>
								<ul>
									<li><a href="../classes/_cordova_background_geolocation_lt_.backgroundgeolocation.html#onmotionchange">onMotionChange</a></li>
									<li>📘 <a href="https://github.com/transistorsoft/cordova-background-geolocation-lt/wiki/Philosophy-of-Operation">Philosophy of Operation</a></li>
								</ul>
							</dd>
						</dl>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
					<a name="triggeractivities" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> trigger<wbr>Activities</h3>
					<div class="tsd-signature tsd-kind-icon">trigger<wbr>Activities<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
					<aside class="tsd-sources">
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p><strong><code>[Android-only]</code></strong> Configures a comma-separated list of motion-activities which are allow to trigger location-tracking.</p>
						</div>
						<dl class="tsd-comment-tags">
							<dt class="tsd-comment-tag-break">break</dt>
							<dd><p>These are the comma-delimited list of <a href="https://developers.google.com/android/reference/com/google/android/gms/location/DetectedActivity">activity-names</a> returned by the <code>ActivityRecognition</code> API which will trigger a state-change from <strong>stationary</strong> to <strong>moving</strong>.  By default, the plugin will trigger on <strong>any</strong> of the <strong>moving-states</strong>:</p>
								<table>
									<thead>
										<tr>
											<th>Activity Name</th>
										</tr>
									</thead>
									<tbody><tr>
											<td><code>in_vehicle</code></td>
										</tr>
										<tr>
											<td><code>on_bicycle</code></td>
										</tr>
										<tr>
											<td><code>on_foot</code></td>
										</tr>
										<tr>
											<td><code>running</code></td>
										</tr>
										<tr>
											<td><code>walking</code></td>
										</tr>
								</tbody></table>
								<p>If you wish, you can configure the plugin to only engage the <strong>moving</strong> state for vehicles-only by providing just <code>&quot;in_vehicle&quot;</code>, for example.</p>
							</dd>
							<dt class="tsd-comment-tag-example">example</dt>
							<dd><pre><code class="language-javascript"><span class="hljs-comment">// Only trigger tracking for vehicles</span>
BackgroundGeolocation.ready({
  <span class="hljs-attr">triggerActivities</span>: <span class="hljs-string">'in_vehicle'</span>
);

<span class="hljs-comment">// Only trigger tracking for on_foot, walking and running</span>
BackgroundGeolocation.ready({
  <span class="hljs-attr">triggerActivities</span>: <span class="hljs-string">'on_foot, walking, running'</span>
);</code></pre>
							</dd>
						</dl>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
					<a name="url" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> url</h3>
					<div class="tsd-signature tsd-kind-icon">url<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
					<aside class="tsd-sources">
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>Your server <code>url</code> where you wish the SDK to automatically upload location data.</p>
						</div>
						<dl class="tsd-comment-tags">
							<dt class="tsd-comment-tag-example">example</dt>
							<dd><pre><code class="language-typescript">BackgroundGeolocation.ready({
  url: <span class="hljs-string">'https://my-server.com/locations'</span>
});</code></pre>
								<p>You can observe the plugin performing HTTP requests in the logs for both iOS and Android (<em>See Wiki <a href="https://github.com/transistorsoft/cordova-background-geolocation-lt/wiki/Debugging">Debugging</a></em>):</p>
							</dd>
							<dt class="tsd-comment-tag-example">example</dt>
							<dd><pre><code>╔═════════════════════════════════════════════
║ LocationService: location
╠═════════════════════════════════════════════
╟─ 📍 Location[45.519199,-73.617054]
✅ INSERT: 70727f8b-df7d-48d0-acbd-15f10cacdf33
╔═════════════════════════════════════════════
║ HTTP<span class="hljs-built_in"> Service
</span>╠═════════════════════════════════════════════
✅ Locked 1 records
🔵 HTTP POST: 70727f8b-df7d-48d0-acbd-15f10cacdf33
🔵 Response: 200
✅ DESTROY: 70727f8b-df7d-48d0-acbd-15f10cacdf33</code></pre><table>
									<thead>
										<tr>
											<th>#</th>
											<th>Log entry</th>
											<th>Description</th>
										</tr>
									</thead>
									<tbody><tr>
											<td>1</td>
											<td><code>📍Location</code></td>
											<td>Location received from native Location API.</td>
										</tr>
										<tr>
											<td>2</td>
											<td><code>✅INSERT</code></td>
											<td>Location record inserted into SDK&#39;s SQLite database.</td>
										</tr>
										<tr>
											<td>3</td>
											<td><code>✅Locked</code></td>
											<td>SDK&#39;s HTTP service locks a record (to prevent duplicate HTTP uploads).</td>
										</tr>
										<tr>
											<td>4</td>
											<td><code>🔵HTTP POST</code></td>
											<td>SDK&#39;s HTTP service attempts an HTTP request to your configured <code>url</code>.</td>
										</tr>
										<tr>
											<td>5</td>
											<td><code>🔵Response</code></td>
											<td>Response from your server.</td>
										</tr>
										<tr>
											<td>6</td>
											<td><code>✅DESTROY|UNLOCK</code></td>
											<td>After your server returns a <strong><code>20x</code></strong> response, the SDK deletes that record from it SQLite database.  Otherwise, the SDK will <strong><code>UNLOCK</code></strong> that record and try again in the future.</td>
										</tr>
								</tbody></table>
								<h3 id="http-failures">HTTP Failures</h3>
								<p>If your server does <em>not</em> return a <code>20x</code> response (eg: <code>200</code>, <code>201</code>, <code>204</code>), the SDK will <strong><code>UNLOCK</code></strong> that record.  Another attempt to
								upload once again in the future until <a href="_cordova_background_geolocation_lt_.config.html#maxdaystopersist">maxDaysToPersist</a>:</p>
								<ul>
									<li>When another location is recorded.</li>
									<li>Application <code>pause</code> / <code>resume</code> events.</li>
									<li>Application boot.</li>
									<li><a href="../classes/_cordova_background_geolocation_lt_.backgroundgeolocation.html#onheartbeat">onHeartbeat</a> events.</li>
									<li><a href="../classes/_cordova_background_geolocation_lt_.backgroundgeolocation.html#onconnectivitychange">onConnectivityChange</a> events.</li>
									<li><strong>[iOS]</strong> Background <code>fetch</code> events.</li>
								</ul>
								<h3 id="-note-">⚠️ Note:</h3>
								<p>It is highly recommended to let the plugin manage uploading locations to your server, <strong>particularly for Android</strong> when configured
									with <strong><code>stopOnTerminate: false</code></strong>, since <code>MainActivity</code> (where your application code lives) <em>will</em> terminate &mdash; only the plugin&#39;s
									native Android background service will continue to operate, recording locations and uploading to your server.  The SDK&#39;s native HTTP
								service <em>is</em> better at this task, since the SDK will automatically <strong>retry on server failure</strong>.</p>
								<h3 id="-see-also-">ℹ️ See also:</h3>
								<ul>
									<li>📘 HTTP Guide: <a href="_cordova_background_geolocation_lt_.httpevent.html">HttpEvent</a>.</li>
									<li>📘 <a href="https://github.com/transistorsoft/cordova-background-geolocation-lt/wiki/Philosophy-of-Operation">Philosophy of Operation</a></li>
								</ul>
							</dd>
						</dl>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
					<a name="usesignificantchangesonly" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> use<wbr>Significant<wbr>Changes<wbr>Only</h3>
					<div class="tsd-signature tsd-kind-icon">use<wbr>Significant<wbr>Changes<wbr>Only<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
					<aside class="tsd-sources">
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p><strong><code>[iOS only]</code></strong> Engages iOS &quot;significant location changes&quot; API for only periodic location updates every 500-1000 meters.</p>
						</div>
						<dl class="tsd-comment-tags">
							<dt class="tsd-comment-tag-break">break</dt>
							<dd><p>Defaults to <code>false</code>.  Set <code>true</code> in order to disable constant background-tracking and use only the iOS <a href="https://developer.apple.com/reference/corelocation/cllocationmanager/1423531-startmonitoringsignificantlocati?language=objc">Significant Changes API</a>.</p>
								<p> ⚠️ If Apple has rejected your application, refusing to grant your app the privelege of using the <strong><code>UIBackgroundMode: &quot;location&quot;</code></strong>, this can be a solution.</p>
								<p> ℹ️ The Significant Changes API will report a location only every <code>500</code> to <code>1000</code> meters (can be higher in non urban environments; depends upon the spacing of Cellular towers).  Many of the plugin&#39;s configuration parameters <strong>will be ignored</strong>, such as <a href="_cordova_background_geolocation_lt_.config.html#distancefilter">distanceFilter</a>, <a href="_cordova_background_geolocation_lt_.config.html#stationaryradius">stationaryRadius</a>, <a href="_cordova_background_geolocation_lt_.config.html#activitytype">activityType</a>, etc.</p>
							</dd>
						</dl>
					</div>
				</section>
			</section>
		</div>
		<div class="col-3 col-menu menu-sticky-wrap menu-highlight">
			<nav class="tsd-navigation primary menu-sticky">
				<ul class="before-current">
					<li class=" tsd-kind-class tsd-parent-kind-module">
						<a href="../classes/_cordova_background_geolocation_lt_.backgroundgeolocation.html" class="tsd-kind-icon">Background<wbr>Geolocation</a>
					</li>
					<li class=" tsd-kind-interface tsd-parent-kind-module tsd-is-not-exported">
						<a href="_cordova_background_geolocation_lt_.battery.html" class="tsd-kind-icon">Battery</a>
					</li>
				</ul>
				<ul class="current">
					<li class="current tsd-kind-interface tsd-parent-kind-module tsd-is-not-exported">
						<a href="_cordova_background_geolocation_lt_.config.html" class="tsd-kind-icon">Config</a>
						<ul>
							<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
								<a href="_cordova_background_geolocation_lt_.config.html#activityrecognitioninterval" class="tsd-kind-icon">activity<wbr>Recognition<wbr>Interval</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
								<a href="_cordova_background_geolocation_lt_.config.html#activitytype" class="tsd-kind-icon">activity<wbr>Type</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
								<a href="_cordova_background_geolocation_lt_.config.html#allowidenticallocations" class="tsd-kind-icon">allow<wbr>Identical<wbr>Locations</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
								<a href="_cordova_background_geolocation_lt_.config.html#autosync" class="tsd-kind-icon">auto<wbr>Sync</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
								<a href="_cordova_background_geolocation_lt_.config.html#autosyncthreshold" class="tsd-kind-icon">auto<wbr>Sync<wbr>Threshold</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
								<a href="_cordova_background_geolocation_lt_.config.html#batchsync" class="tsd-kind-icon">batch<wbr>Sync</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
								<a href="_cordova_background_geolocation_lt_.config.html#debug" class="tsd-kind-icon">debug</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
								<a href="_cordova_background_geolocation_lt_.config.html#defertime" class="tsd-kind-icon">defer<wbr>Time</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
								<a href="_cordova_background_geolocation_lt_.config.html#desiredaccuracy" class="tsd-kind-icon">desired<wbr>Accuracy</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
								<a href="_cordova_background_geolocation_lt_.config.html#desiredodometeraccuracy" class="tsd-kind-icon">desired<wbr>Odometer<wbr>Accuracy</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
								<a href="_cordova_background_geolocation_lt_.config.html#disableelasticity" class="tsd-kind-icon">disable<wbr>Elasticity</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
								<a href="_cordova_background_geolocation_lt_.config.html#disablelocationauthorizationalert" class="tsd-kind-icon">disable<wbr>Location<wbr>Authorization<wbr>Alert</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
								<a href="_cordova_background_geolocation_lt_.config.html#disablemotionactivityupdates" class="tsd-kind-icon">disable<wbr>Motion<wbr>Activity<wbr>Updates</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
								<a href="_cordova_background_geolocation_lt_.config.html#disablestopdetection" class="tsd-kind-icon">disable<wbr>Stop<wbr>Detection</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
								<a href="_cordova_background_geolocation_lt_.config.html#distancefilter" class="tsd-kind-icon">distance<wbr>Filter</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
								<a href="_cordova_background_geolocation_lt_.config.html#elasticitymultiplier" class="tsd-kind-icon">elasticity<wbr>Multiplier</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
								<a href="_cordova_background_geolocation_lt_.config.html#enableheadless" class="tsd-kind-icon">enable<wbr>Headless</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
								<a href="_cordova_background_geolocation_lt_.config.html#enabletimestampmeta" class="tsd-kind-icon">enable<wbr>Timestamp<wbr>Meta</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
								<a href="_cordova_background_geolocation_lt_.config.html#extras" class="tsd-kind-icon">extras</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
								<a href="_cordova_background_geolocation_lt_.config.html#fastestlocationupdateinterval" class="tsd-kind-icon">fastest<wbr>Location<wbr>Update<wbr>Interval</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
								<a href="_cordova_background_geolocation_lt_.config.html#forcereloadonboot" class="tsd-kind-icon">force<wbr>Reload<wbr>OnBoot</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
								<a href="_cordova_background_geolocation_lt_.config.html#forcereloadongeofence" class="tsd-kind-icon">force<wbr>Reload<wbr>OnGeofence</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
								<a href="_cordova_background_geolocation_lt_.config.html#forcereloadonheartbeat" class="tsd-kind-icon">force<wbr>Reload<wbr>OnHeartbeat</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
								<a href="_cordova_background_geolocation_lt_.config.html#forcereloadonlocationchange" class="tsd-kind-icon">force<wbr>Reload<wbr>OnLocation<wbr>Change</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
								<a href="_cordova_background_geolocation_lt_.config.html#forcereloadonmotionchange" class="tsd-kind-icon">force<wbr>Reload<wbr>OnMotion<wbr>Change</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
								<a href="_cordova_background_geolocation_lt_.config.html#forcereloadonschedule" class="tsd-kind-icon">force<wbr>Reload<wbr>OnSchedule</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
								<a href="_cordova_background_geolocation_lt_.config.html#foregroundservice" class="tsd-kind-icon">foreground<wbr>Service</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
								<a href="_cordova_background_geolocation_lt_.config.html#geofenceinitialtriggerentry" class="tsd-kind-icon">geofence<wbr>Initial<wbr>Trigger<wbr>Entry</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
								<a href="_cordova_background_geolocation_lt_.config.html#geofenceproximityradius" class="tsd-kind-icon">geofence<wbr>Proximity<wbr>Radius</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
								<a href="_cordova_background_geolocation_lt_.config.html#geofencetemplate" class="tsd-kind-icon">geofence<wbr>Template</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
								<a href="_cordova_background_geolocation_lt_.config.html#headers" class="tsd-kind-icon">headers</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
								<a href="_cordova_background_geolocation_lt_.config.html#heartbeatinterval" class="tsd-kind-icon">heartbeat<wbr>Interval</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
								<a href="_cordova_background_geolocation_lt_.config.html#httprootproperty" class="tsd-kind-icon">http<wbr>Root<wbr>Property</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
								<a href="_cordova_background_geolocation_lt_.config.html#httptimeout" class="tsd-kind-icon">http<wbr>Timeout</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
								<a href="_cordova_background_geolocation_lt_.config.html#ismoving" class="tsd-kind-icon">is<wbr>Moving</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
								<a href="_cordova_background_geolocation_lt_.config.html#locationauthorizationalert" class="tsd-kind-icon">location<wbr>Authorization<wbr>Alert</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
								<a href="_cordova_background_geolocation_lt_.config.html#locationauthorizationrequest" class="tsd-kind-icon">location<wbr>Authorization<wbr>Request</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
								<a href="_cordova_background_geolocation_lt_.config.html#locationtemplate" class="tsd-kind-icon">location<wbr>Template</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
								<a href="_cordova_background_geolocation_lt_.config.html#locationtimeout" class="tsd-kind-icon">location<wbr>Timeout</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
								<a href="_cordova_background_geolocation_lt_.config.html#locationupdateinterval" class="tsd-kind-icon">location<wbr>Update<wbr>Interval</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
								<a href="_cordova_background_geolocation_lt_.config.html#locationsorderdirection" class="tsd-kind-icon">locations<wbr>Order<wbr>Direction</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
								<a href="_cordova_background_geolocation_lt_.config.html#loglevel" class="tsd-kind-icon">log<wbr>Level</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
								<a href="_cordova_background_geolocation_lt_.config.html#logmaxdays" class="tsd-kind-icon">log<wbr>Max<wbr>Days</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
								<a href="_cordova_background_geolocation_lt_.config.html#maxbatchsize" class="tsd-kind-icon">max<wbr>Batch<wbr>Size</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
								<a href="_cordova_background_geolocation_lt_.config.html#maxdaystopersist" class="tsd-kind-icon">max<wbr>Days<wbr>ToPersist</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
								<a href="_cordova_background_geolocation_lt_.config.html#maxrecordstopersist" class="tsd-kind-icon">max<wbr>Records<wbr>ToPersist</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
								<a href="_cordova_background_geolocation_lt_.config.html#method" class="tsd-kind-icon">method</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
								<a href="_cordova_background_geolocation_lt_.config.html#minimumactivityrecognitionconfidence" class="tsd-kind-icon">minimum<wbr>Activity<wbr>Recognition<wbr>Confidence</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
								<a href="_cordova_background_geolocation_lt_.config.html#notificationchannelname" class="tsd-kind-icon">notification<wbr>Channel<wbr>Name</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
								<a href="_cordova_background_geolocation_lt_.config.html#notificationcolor" class="tsd-kind-icon">notification<wbr>Color</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
								<a href="_cordova_background_geolocation_lt_.config.html#notificationlargeicon" class="tsd-kind-icon">notification<wbr>Large<wbr>Icon</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
								<a href="_cordova_background_geolocation_lt_.config.html#notificationpriority" class="tsd-kind-icon">notification<wbr>Priority</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
								<a href="_cordova_background_geolocation_lt_.config.html#notificationsmallicon" class="tsd-kind-icon">notification<wbr>Small<wbr>Icon</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
								<a href="_cordova_background_geolocation_lt_.config.html#notificationtext" class="tsd-kind-icon">notification<wbr>Text</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
								<a href="_cordova_background_geolocation_lt_.config.html#notificationtitle" class="tsd-kind-icon">notification<wbr>Title</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
								<a href="_cordova_background_geolocation_lt_.config.html#params" class="tsd-kind-icon">params</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
								<a href="_cordova_background_geolocation_lt_.config.html#pauseslocationupdatesautomatically" class="tsd-kind-icon">pauses<wbr>Location<wbr>Updates<wbr>Automatically</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
								<a href="_cordova_background_geolocation_lt_.config.html#preventsuspend" class="tsd-kind-icon">prevent<wbr>Suspend</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
								<a href="_cordova_background_geolocation_lt_.config.html#reset" class="tsd-kind-icon">reset</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
								<a href="_cordova_background_geolocation_lt_.config.html#schedule" class="tsd-kind-icon">schedule</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
								<a href="_cordova_background_geolocation_lt_.config.html#startonboot" class="tsd-kind-icon">start<wbr>OnBoot</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
								<a href="_cordova_background_geolocation_lt_.config.html#stationaryradius" class="tsd-kind-icon">stationary<wbr>Radius</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
								<a href="_cordova_background_geolocation_lt_.config.html#stopafterelapsedminutes" class="tsd-kind-icon">stop<wbr>After<wbr>Elapsed<wbr>Minutes</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
								<a href="_cordova_background_geolocation_lt_.config.html#stopdetectiondelay" class="tsd-kind-icon">stop<wbr>Detection<wbr>Delay</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
								<a href="_cordova_background_geolocation_lt_.config.html#stoponstationary" class="tsd-kind-icon">stop<wbr>OnStationary</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
								<a href="_cordova_background_geolocation_lt_.config.html#stoponterminate" class="tsd-kind-icon">stop<wbr>OnTerminate</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
								<a href="_cordova_background_geolocation_lt_.config.html#stoptimeout" class="tsd-kind-icon">stop<wbr>Timeout</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
								<a href="_cordova_background_geolocation_lt_.config.html#triggeractivities" class="tsd-kind-icon">trigger<wbr>Activities</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
								<a href="_cordova_background_geolocation_lt_.config.html#url" class="tsd-kind-icon">url</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported">
								<a href="_cordova_background_geolocation_lt_.config.html#usesignificantchangesonly" class="tsd-kind-icon">use<wbr>Significant<wbr>Changes<wbr>Only</a>
							</li>
						</ul>
					</li>
				</ul>
				<ul class="after-current">
					<li class=" tsd-kind-interface tsd-parent-kind-module tsd-is-not-exported">
						<a href="_cordova_background_geolocation_lt_.connectivitychangeevent.html" class="tsd-kind-icon">Connectivity<wbr>Change<wbr>Event</a>
					</li>
					<li class=" tsd-kind-interface tsd-parent-kind-module tsd-is-not-exported">
						<a href="_cordova_background_geolocation_lt_.coords.html" class="tsd-kind-icon">Coords</a>
					</li>
					<li class=" tsd-kind-interface tsd-parent-kind-module tsd-is-not-exported">
						<a href="_cordova_background_geolocation_lt_.currentpositionrequest.html" class="tsd-kind-icon">Current<wbr>Position<wbr>Request</a>
					</li>
					<li class=" tsd-kind-interface tsd-parent-kind-module tsd-is-not-exported">
						<a href="_cordova_background_geolocation_lt_.geofence.html" class="tsd-kind-icon">Geofence</a>
					</li>
					<li class=" tsd-kind-interface tsd-parent-kind-module tsd-is-not-exported">
						<a href="_cordova_background_geolocation_lt_.geofenceevent.html" class="tsd-kind-icon">Geofence<wbr>Event</a>
					</li>
					<li class=" tsd-kind-interface tsd-parent-kind-module tsd-is-not-exported">
						<a href="_cordova_background_geolocation_lt_.geofenceschangeevent.html" class="tsd-kind-icon">Geofences<wbr>Change<wbr>Event</a>
					</li>
					<li class=" tsd-kind-interface tsd-parent-kind-module tsd-is-not-exported">
						<a href="_cordova_background_geolocation_lt_.heartbeatevent.html" class="tsd-kind-icon">Heartbeat<wbr>Event</a>
					</li>
					<li class=" tsd-kind-interface tsd-parent-kind-module tsd-is-not-exported">
						<a href="_cordova_background_geolocation_lt_.httpevent.html" class="tsd-kind-icon">Http<wbr>Event</a>
					</li>
					<li class=" tsd-kind-interface tsd-parent-kind-module">
						<a href="_cordova_background_geolocation_lt_.location.html" class="tsd-kind-icon">Location</a>
					</li>
					<li class=" tsd-kind-interface tsd-parent-kind-module tsd-is-not-exported">
						<a href="_cordova_background_geolocation_lt_.locationauthorizationalert.html" class="tsd-kind-icon">Location<wbr>Authorization<wbr>Alert</a>
					</li>
					<li class=" tsd-kind-interface tsd-parent-kind-module tsd-is-not-exported">
						<a href="_cordova_background_geolocation_lt_.logger.html" class="tsd-kind-icon">Logger</a>
					</li>
					<li class=" tsd-kind-interface tsd-parent-kind-module tsd-is-not-exported">
						<a href="_cordova_background_geolocation_lt_.motionactivityevent.html" class="tsd-kind-icon">Motion<wbr>Activity<wbr>Event</a>
					</li>
					<li class=" tsd-kind-interface tsd-parent-kind-module tsd-is-not-exported">
						<a href="_cordova_background_geolocation_lt_.motionchangeevent.html" class="tsd-kind-icon">Motion<wbr>Change<wbr>Event</a>
					</li>
					<li class=" tsd-kind-interface tsd-parent-kind-module tsd-is-not-exported">
						<a href="_cordova_background_geolocation_lt_.providerchangeevent.html" class="tsd-kind-icon">Provider<wbr>Change<wbr>Event</a>
					</li>
					<li class=" tsd-kind-interface tsd-parent-kind-module tsd-is-not-exported">
						<a href="_cordova_background_geolocation_lt_.sensors.html" class="tsd-kind-icon">Sensors</a>
					</li>
					<li class=" tsd-kind-interface tsd-parent-kind-module tsd-is-not-exported">
						<a href="_cordova_background_geolocation_lt_.state.html" class="tsd-kind-icon">State</a>
					</li>
					<li class=" tsd-kind-interface tsd-parent-kind-module tsd-is-not-exported">
						<a href="_cordova_background_geolocation_lt_.watchpositionrequest.html" class="tsd-kind-icon">Watch<wbr>Position<wbr>Request</a>
					</li>
					<li class=" tsd-kind-type-alias tsd-parent-kind-module tsd-is-not-exported">
						<a href="../modules/_cordova_background_geolocation_lt_.html#activitytype" class="tsd-kind-icon">Activity<wbr>Type</a>
					</li>
					<li class=" tsd-kind-type-alias tsd-parent-kind-module tsd-is-not-exported">
						<a href="../modules/_cordova_background_geolocation_lt_.html#authorizationstatus" class="tsd-kind-icon">Authorization<wbr>Status</a>
					</li>
					<li class=" tsd-kind-type-alias tsd-parent-kind-module tsd-is-not-exported">
						<a href="../modules/_cordova_background_geolocation_lt_.html#httpmethod" class="tsd-kind-icon">Http<wbr>Method</a>
					</li>
					<li class=" tsd-kind-type-alias tsd-parent-kind-module tsd-is-not-exported">
						<a href="../modules/_cordova_background_geolocation_lt_.html#locationaccuracy" class="tsd-kind-icon">Location<wbr>Accuracy</a>
					</li>
					<li class=" tsd-kind-type-alias tsd-parent-kind-module tsd-is-not-exported">
						<a href="../modules/_cordova_background_geolocation_lt_.html#locationauthorizationrequest" class="tsd-kind-icon">Location<wbr>Authorization<wbr>Request</a>
					</li>
					<li class=" tsd-kind-type-alias tsd-parent-kind-module tsd-is-not-exported">
						<a href="../modules/_cordova_background_geolocation_lt_.html#locationerror" class="tsd-kind-icon">Location<wbr>Error</a>
					</li>
					<li class=" tsd-kind-type-alias tsd-parent-kind-module tsd-is-not-exported">
						<a href="../modules/_cordova_background_geolocation_lt_.html#loglevel" class="tsd-kind-icon">Log<wbr>Level</a>
					</li>
					<li class=" tsd-kind-type-alias tsd-parent-kind-module tsd-is-not-exported">
						<a href="../modules/_cordova_background_geolocation_lt_.html#notificationpriority" class="tsd-kind-icon">Notification<wbr>Priority</a>
					</li>
					<li class=" tsd-kind-type-alias tsd-parent-kind-module tsd-is-not-exported">
						<a href="../modules/_cordova_background_geolocation_lt_.html#trackingmode" class="tsd-kind-icon">Tracking<wbr>Mode</a>
					</li>
				</ul>
			</nav>
		</div>
	</div>
</div>
<footer class="with-border-bottom">
	<div class="container">
		<h2>Legend</h2>
		<div class="tsd-legend-group">
			<ul class="tsd-legend">
				<li class="tsd-kind-module"><span class="tsd-kind-icon">Module</span></li>
				<li class="tsd-kind-object-literal"><span class="tsd-kind-icon">Object literal</span></li>
				<li class="tsd-kind-variable"><span class="tsd-kind-icon">Variable</span></li>
				<li class="tsd-kind-function"><span class="tsd-kind-icon">Function</span></li>
				<li class="tsd-kind-function tsd-has-type-parameter"><span class="tsd-kind-icon">Function with type parameter</span></li>
				<li class="tsd-kind-index-signature"><span class="tsd-kind-icon">Index signature</span></li>
				<li class="tsd-kind-type-alias"><span class="tsd-kind-icon">Type alias</span></li>
				<li class="tsd-kind-type-alias tsd-has-type-parameter"><span class="tsd-kind-icon">Type alias with type parameter</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-enum"><span class="tsd-kind-icon">Enumeration</span></li>
				<li class="tsd-kind-enum-member"><span class="tsd-kind-icon">Enumeration member</span></li>
				<li class="tsd-kind-property tsd-parent-kind-enum"><span class="tsd-kind-icon">Property</span></li>
				<li class="tsd-kind-method tsd-parent-kind-enum"><span class="tsd-kind-icon">Method</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-interface"><span class="tsd-kind-icon">Interface</span></li>
				<li class="tsd-kind-interface tsd-has-type-parameter"><span class="tsd-kind-icon">Interface with type parameter</span></li>
				<li class="tsd-kind-constructor tsd-parent-kind-interface"><span class="tsd-kind-icon">Constructor</span></li>
				<li class="tsd-kind-property tsd-parent-kind-interface"><span class="tsd-kind-icon">Property</span></li>
				<li class="tsd-kind-method tsd-parent-kind-interface"><span class="tsd-kind-icon">Method</span></li>
				<li class="tsd-kind-index-signature tsd-parent-kind-interface"><span class="tsd-kind-icon">Index signature</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li>
				<li class="tsd-kind-class tsd-has-type-parameter"><span class="tsd-kind-icon">Class with type parameter</span></li>
				<li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li>
				<li class="tsd-kind-property tsd-parent-kind-class"><span class="tsd-kind-icon">Property</span></li>
				<li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li>
				<li class="tsd-kind-accessor tsd-parent-kind-class"><span class="tsd-kind-icon">Accessor</span></li>
				<li class="tsd-kind-index-signature tsd-parent-kind-class"><span class="tsd-kind-icon">Index signature</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited constructor</span></li>
				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited property</span></li>
				<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited method</span></li>
				<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited accessor</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected property</span></li>
				<li class="tsd-kind-method tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected method</span></li>
				<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected accessor</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private property</span></li>
				<li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private method</span></li>
				<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private accessor</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static property</span></li>
				<li class="tsd-kind-call-signature tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static method</span></li>
			</ul>
		</div>
	</div>
</footer>
<div class="container tsd-generator">
	<p>Generated using <a href="http://typedoc.org/" target="_blank">TypeDoc</a></p>
</div>
<div class="overlay"></div>
<script src="../assets/js/main.js"></script>
<script>if (location.protocol == 'file:') document.write('<script src="../assets/js/search.js"><' + '/script>');</script>
<script>
        (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
            (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
                m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
        })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

        ga('create', 'UA-102968-14', 'auto');
        ga('send', 'pageview');
    </script>
</body>
</html>